|
|
@@ -636,7 +636,7 @@ class Auth extends BaseController
|
|
|
*/
|
|
|
public function authLogin()
|
|
|
{
|
|
|
- @file_put_contents('quanju3.txt',"-微信是否是走这里登录\r\n",8);
|
|
|
+// @file_put_contents('quanju3.txt',"-微信是否是走这里登录\r\n",8);
|
|
|
$auth = $this->request->param('auth');
|
|
|
$users = $this->authInfo($auth, !systemConfig('is_phone_login'));
|
|
|
if (!$users)
|
|
|
@@ -662,6 +662,7 @@ class Auth extends BaseController
|
|
|
}
|
|
|
$tokenInfo = $userRepository->createToken($user);
|
|
|
$userRepository->loginAfter($user);
|
|
|
+ @file_put_contents('quanju3.txt',json_encode($user)."-微信是否是走这里登录\r\n",8);
|
|
|
return app('json')->status(200, $userRepository->returnToken($user, $tokenInfo));
|
|
|
}
|
|
|
|