...
|
...
|
@@ -82,7 +82,7 @@ class User extends WechatBase |
|
|
->where('id', $userInfo['user_id'])
|
|
|
->update($userData);
|
|
|
if($row1!==false&&$row2!==false){
|
|
|
$userModel=new User();
|
|
|
$userModel=new \app\home\model\User();
|
|
|
$user=$userModel->getUserInfo(['user_id'=>$userInfo['user_id'],'app_id'=>$appId]);
|
|
|
update_current_user($user);
|
|
|
session('token',$token);
|
...
|
...
|
|