|
|
|
@ -802,7 +802,7 @@ class ContentService { |
|
|
|
public function indexContent($param): \think\response\Json |
|
|
|
{ |
|
|
|
$Cate = new Category(); |
|
|
|
$cate = $Cate->getAllCustomArrayData(['seller_id'=>$param['seller_id'],'website_id'=>$param['website_id'],'lang'=>$param['lang']],'id asc','id,title,parent_id')['data']; |
|
|
|
$cate = $Cate->getAllCustomArrayData(['seller_id'=>$param['seller_id'],'website_id'=>$param['website_id'],'lang'=>$param['lang']],'sort asc,id asc','id,title,parent_id')['data']; |
|
|
|
if(empty($cate)){ |
|
|
|
return json(['code' => 0, 'msg' => 'ok', 'count' => 0, 'data' => []]); |
|
|
|
} |
|
|
|
|