master
tpingzhang 5 years ago
parent 1c686ef98b
commit 607c6d28dc

@ -10,6 +10,7 @@
namespace Admin\Model;
use Think\Model;
use Org\RedisSDK\Redis;
use Think\Log;
/**
* 文档基础模型
@ -1071,7 +1072,6 @@ class UserModel extends Model{
return array("user_id"=>$user['id'],"token"=>$token); //登录成功返回用户ID
}
}else{
Log::write('进入SDK_1' , 'INFO');
$token = $this->sdklogin_update($user,$account,$password,$user['fgame_id'],$game_id,$game_name,$unique_code); //更新用户登录信息
$this->user_login_record2($user,$type,$game_id,$game_name,$sdk_version);
return array("user_id"=>$user['id'],"token"=>$token); //登录成功返回用户ID

Loading…
Cancel
Save