|
|
@ -337,11 +337,11 @@ class UserService
|
|
|
|
$userPlay = M('user_play', 'tab_')->where($map)->find();
|
|
|
|
$userPlay = M('user_play', 'tab_')->where($map)->find();
|
|
|
|
if (empty($userPlay)) {
|
|
|
|
if (empty($userPlay)) {
|
|
|
|
$data = [];
|
|
|
|
$data = [];
|
|
|
|
$data['user_id'] = $user['user_id'];
|
|
|
|
$data['user_id'] = $user['id'];
|
|
|
|
$data['user_account'] = $user['account'];
|
|
|
|
$data['user_account'] = $user['account'];
|
|
|
|
$data['user_nickname'] = $user['nickname'];
|
|
|
|
$data['user_nickname'] = $user['nickname'];
|
|
|
|
$data['game_id'] = $user['game_id'];
|
|
|
|
$data['game_id'] = $game['id'];
|
|
|
|
$data['game_appid'] = $user['game_appid'];
|
|
|
|
$data['game_appid'] = $game['game_appid'];
|
|
|
|
$data['game_name'] = $game['game_name'];
|
|
|
|
$data['game_name'] = $game['game_name'];
|
|
|
|
$data['server_id'] = 0;
|
|
|
|
$data['server_id'] = 0;
|
|
|
|
$data['server_name'] = '';
|
|
|
|
$data['server_name'] = '';
|
|
|
|