ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
## 添加路由 请在每个应用下`route.php`添加路由,使用资源路由添加; demo 应用路由(`api/demo/route.php`): ``` <?php use think\Route; Route::resource('demo/categories', 'demo/Categories'); Route::resource('demo/articles', 'demo/Articles'); Route::resource('demo/pages', 'demo/Pages'); ```