cqpCow 1 year ago
parent
commit
5bb4c819f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      routes/api.php

+ 1 - 1
routes/api.php

@@ -19,7 +19,7 @@ Route::middleware('auth:api')->get('/user', function (Request $request) {
 
 Route::any('login', 'Api\LoginController@login');
 
-Route::group(['middleware'=> []],function ($route){
+Route::group(['middleware'=> ['checkLogin']],function ($route){
     //操作日志
     $route->any('systemRecordList', 'Api\SystemRecordController@orderList');