0, // 未删除 ]; $list = ShopCategory::field('id,name,image') ->where($where) ->order(['sort'=>'asc','id'=>'desc']) ->select() ->toArray(); return $list; } }