1
This commit is contained in:
parent
6449305c50
commit
506897fceb
@ -319,7 +319,7 @@ class User extends BaseModel {
|
|||||||
|
|
||||||
public static function getListByRank($rank){
|
public static function getListByRank($rank){
|
||||||
$field = "idx,account_id,channel,name,head_id,head_frame,rank,score";
|
$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(
|
$whereKv = array(
|
||||||
"rank" => $rank,
|
"rank" => $rank,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user