Mike 7 年之前
父节点
当前提交
c50aac0ca6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/routes/api.php

+ 2 - 2
server/routes/api.php

xqd
@@ -55,11 +55,11 @@ $api->version('v1', ['namespace' => 'App\Http\Controllers\Api\V1'], function ($a
     // Auth
     // signin
     $api->post('auth/login', [
-        'as' => 'auth.login',
+        'as' => 'login',
         'uses' => 'AuthController@login',
     ]);
     $api->get('auth/wechat_login', [
-        'as' => 'auth.wechat_login',
+        'as' => 'wechat_login',
         'uses' => 'AuthController@wechatLogin',
     ]);
     $api->get('auth/logout', [