In laravel, the route is configured in web.php, with an error of 404. As a result, it would be nice to be ranked first in the order. Excuse me, why?

use laravel, to configure the route in web.php, and call web to report an error 404. As a result, the route can be accessed first. Has any friend encountered this problem?

Mar.05,2021

you post the specific code


you should write a new method on the same controller. The original resource controller overrides your newly written route


route matching problem. Be sure to pay attention to the sequence of routes

.
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-1eb654a-47047.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-1eb654a-47047.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?