diff --git a/Application/Admin/Model/UserModel.class.php b/Application/Admin/Model/UserModel.class.php index f16e1231..1d85d13c 100644 --- a/Application/Admin/Model/UserModel.class.php +++ b/Application/Admin/Model/UserModel.class.php @@ -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