'url_route_on' => true,
// Route uses complete match
'route_complete_match' => false,
// Routing configuration file (supported Configure multiple)
'route_config_file' => ['route'],
// Whether to force the use of routing
'url_route_must' => false,
'route_complete_match' => false, change to true
'url_route_must' => false, change to true
will report an error
亚连2018-06-11 09:34:48
If you enable forced routing, you must set the route, otherwise an undefined route error will be reported. If you are not very familiar with routing, it is recommended not to enable forced routing.