目录创建
parent
ea6b40fddb
commit
eb0258c3d0
|
@ -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);
|
||||
|
Loading…
Reference in New Issue