|
|
|
@ -35,6 +35,14 @@ class UserService
|
|
|
|
|
$noticeCount = $this->getNoticeCount($user, $game);
|
|
|
|
|
$this->addUserPlay($user, $game, $clientIp);
|
|
|
|
|
|
|
|
|
|
$smallList = [];
|
|
|
|
|
$smallList[] = [
|
|
|
|
|
'is_platform' => $user['is_platform'],
|
|
|
|
|
'user_id' => $user['id'],
|
|
|
|
|
'account' => $user['account'],
|
|
|
|
|
'user_account' => $user['account']
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
$data = [
|
|
|
|
|
'status' => 200,
|
|
|
|
|
'return_code' => 'success',
|
|
|
|
@ -50,7 +58,7 @@ class UserService
|
|
|
|
|
'is_uc' => 0,
|
|
|
|
|
'is_open_small_account' => C('IS_OPEN_SMALL_ACCOUNT'),
|
|
|
|
|
'url' => 'http://' . str_replace(array('http://'), '', C('WEB_SITE')) . '/mobile.php',
|
|
|
|
|
'small_list' => [],
|
|
|
|
|
'small_list' => $smallList,
|
|
|
|
|
'ios_packagename' => C('WEB_IOS_PACKAGENAME'),
|
|
|
|
|
'android_packagename' => C('WEB_AND_PACKAGENAME'),
|
|
|
|
|
'site_status' => C('SDK_SITE_STATUS'),
|
|
|
|
|