账号互T

master
tpingzhang 5 years ago
parent c2de950158
commit 1f58734aaf

@ -1098,7 +1098,7 @@ class UserModel extends Model{
$data["last_device_number"] = $user['device_number']; $data["last_device_number"] = $user['device_number'];
$data["token"] = $this->generateToken($uid,$account,$password); $data["token"] = $this->generateToken($uid,$account,$password);
$userToken = $this->generateToken($uid,$account,$password).rand(1000, 9999); $userToken = $this->generateToken($uid,$account,$password).uniqid().rand(1000, 9999);
$relationGameId = M('game', 'tab_')->where([ $relationGameId = M('game', 'tab_')->where([
'id' => $game_id 'id' => $game_id
])->getField('relation_game_id'); ])->getField('relation_game_id');

Loading…
Cancel
Save