|
|
@ -273,6 +273,7 @@ class UserController extends BaseController
|
|
|
|
"sex" => $user_res["sex"] ? $user_res["sex"] : 0,
|
|
|
|
"sex" => $user_res["sex"] ? $user_res["sex"] : 0,
|
|
|
|
"is_platform" => $platform,
|
|
|
|
"is_platform" => $platform,
|
|
|
|
"token" => $result['token'],
|
|
|
|
"token" => $result['token'],
|
|
|
|
|
|
|
|
"user_token" => $user_res['user_token'],
|
|
|
|
"OTP_token" => think_encrypt(json_encode(array('uid' => $user["user_id"], 'time' => time())), 1),
|
|
|
|
"OTP_token" => think_encrypt(json_encode(array('uid' => $user["user_id"], 'time' => time())), 1),
|
|
|
|
'is_uc' => 0,
|
|
|
|
'is_uc' => 0,
|
|
|
|
"is_open_small_account" => C('IS_OPEN_SMALL_ACCOUNT'),
|
|
|
|
"is_open_small_account" => C('IS_OPEN_SMALL_ACCOUNT'),
|
|
|
|