Here's how we can define URL rules and map them to controller actions in the config/routes.php file. return [ 'GET api/users/<userId:\d+>' => ...
確定! 回上一頁