The transfer of parameters between thinkphp5 and front-end pages

I use the framework of tp5, and the background route.PHP is configured in this way

clipboard.png

id

clipboard.png
this is the title output of my article on the website

now how can I pass the article id to the background, and how can I receive it in the background

Jun.22,2021

try the front
background: $id= input (' get.id','0','intval');


after studying for less than half a day, I finally figured out that after tp5 has configured the route rules, the front end does not need to use the url function if it needs to pass parameters. Just write the parameters according to the configured rules
clipboard.png
route

clipboard.png
this is the front end parameter passing

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b371f9-4d708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b371f9-4d708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?