|
@@ -59,7 +59,7 @@ class Mall extends Base
|
|
|
*/
|
|
|
public function getWashCate()
|
|
|
{
|
|
|
- $list = WashCate::where('is_deleted',0)->field('id,logo,title,ladder_set')->select()->toArray();
|
|
|
+ $list = WashCate::where('is_deleted',0)->field('id,logo,title,ladder_set')->order('sort desc ,id desc')->select()->toArray();
|
|
|
array_walk($list,function (&$v,$k){
|
|
|
$v['ladder_set'] = $v['ladder_set'] ? json_decode($v['ladder_set'],true):null;
|
|
|
});
|