1
This commit is contained in:
parent
92f096f490
commit
7fbd7707ef
@ -220,7 +220,8 @@ class User extends BaseModel {
|
||||
'current_star_num' => $current_star_num,
|
||||
'next_star_num' => $next_star_num,
|
||||
// 'status_bar' => self::_getState(),
|
||||
'honor_info' => $honorInfo
|
||||
'honor_info' => $honorInfo,
|
||||
'last_login_time' => $row['last_login_time'],
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -866,8 +866,8 @@ class TameBattleDataService extends BaseService {
|
||||
'rank' => $newRank,
|
||||
'score' => $newScore,
|
||||
'elo' => $newElo,
|
||||
'history_best_rank' => max($this->userInfo['rank'], $newRank),
|
||||
'history_best_score' => max($this->userInfo['score'], $newScore),
|
||||
'history_best_rank' => max($this->userInfo['history_best_rank'], $newRank),
|
||||
'history_best_score' => max($this->userInfo['history_best_score'], $newScore),
|
||||
'score_modifytime' => myself()->_getNowTime(),
|
||||
'best_rank_modifytime' => $newRank > $this->userInfo['rank'] ?
|
||||
myself()->_getNowTime() : $this->userInfo['best_rank_modifytime'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user