This commit is contained in:
hujiabin 2023-05-18 15:04:33 +08:00
parent 6449305c50
commit 506897fceb

View File

@ -319,7 +319,7 @@ class User extends BaseModel {
public static function getListByRank($rank){
$field = "idx,account_id,channel,name,head_id,head_frame,rank,score";
$sql = "select {$field} from t_user where rank=:rank order by score desc limit 20 ";
$sql = "select {$field} from t_user where rank=:rank order by score desc,score_modifytime asc limit 20 ";
$whereKv = array(
"rank" => $rank,
);