目录创建

master
chenq 2021-08-09 11:44:44 +08:00
parent ea6b40fddb
commit eb0258c3d0
1 changed files with 18 additions and 0 deletions

18
app/Home/route/route.php Normal file
View File

@ -0,0 +1,18 @@
<?php
use think\facade\Route;
Route::get('test', 'Test/index');
//首页精彩课程
Route::post('/classroom', 'Classroom/home');
//头部提示
Route::post('/tips', 'Homepage/tips');
//一分一段
Route::group('one_minute', function () {
Route::post('/', 'school.oneMinute/index');
Route::post('/search', 'school.oneMinute/search');
Route::post('/find', 'school.oneMinute/find');
})->middleware(JwtAuth::class);