소스 검색

APP小程序-注册登录功能改进-一键登录若是新用户告知前端

xupuyuan 11 달 전
부모
커밋
1b59cf156a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/controller/api/Auth.php

+ 1 - 1
app/controller/api/Auth.php

@@ -2135,7 +2135,7 @@ class Auth extends BaseController
2135 2135
             $tokenInfo = $repository->createToken($user);
2136 2136
 
2137 2137
             if($isnew){
2138
-                return app('json')->success('注册用户');
2138
+                return app('json')->success('newuser');
2139 2139
             }
2140 2140
 
2141 2141
             return app('json')->success($repository->returnToken($user, $tokenInfo));