update
This commit is contained in:
parent
3631046506
commit
e7ee2e0884
@ -27,6 +27,8 @@ class ShopLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
$userInfo = UserTokenService::setToken($user['user_id'], 6);
|
$userInfo = UserTokenService::setToken($user['user_id'], 6);
|
||||||
if($jg_register_id){
|
if($jg_register_id){
|
||||||
|
//清除其他账号绑定的相同的极光id
|
||||||
|
Db::name('user_auth_shop')->where('jg_register_id',$jg_register_id)->update(['jg_register_id'=>'']);
|
||||||
Db::name('user_auth_shop')->where('id',$user['id'])->update(['jg_register_id'=>$jg_register_id]);
|
Db::name('user_auth_shop')->where('id',$user['id'])->update(['jg_register_id'=>$jg_register_id]);
|
||||||
}
|
}
|
||||||
return $userInfo['token'];
|
return $userInfo['token'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user