路由文件修改
parent
eb0258c3d0
commit
05d4976609
|
@ -2,17 +2,3 @@
|
||||||
|
|
||||||
use think\facade\Route;
|
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);
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue