diff --git a/app/admin/controller/Login.php b/app/admin/controller/Login.php index 0343a5b..5db8a35 100644 --- a/app/admin/controller/Login.php +++ b/app/admin/controller/Login.php @@ -33,7 +33,7 @@ class Login $res = $user->login($data); if ($res == 1) { - $res = ['code'=>0,'msg'=>'登陆成功' 'url'=>(string) url('index/index')]; + $res = ['code'=>0,'msg'=>'登陆成功', 'url'=>(string) url('index/index')]; //$res['data']['access_token'] = $data['__token__']; } else { $res = ['code'=>-1,'msg'=>$res,'url'=>'admin/login'];