setter
parent
5dc6a1379f
commit
8bfce4f288
|
@ -51,7 +51,7 @@ class Area extends Base
|
|||
// 获取列表
|
||||
public static function getAllList(): Collection
|
||||
{
|
||||
return self::order('id', 'asc')
|
||||
return self::order(["sort"=>"desc","id"=>"desc"])
|
||||
->select();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue