diff --git a/app/service/ContentService.php b/app/service/ContentService.php index a758c4d..65e47fc 100644 --- a/app/service/ContentService.php +++ b/app/service/ContentService.php @@ -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' => []]); } diff --git a/public/themes/website/1/en/demo/about.html b/public/themes/website/1/en/demo/about.html index feddad2..60c153c 100644 --- a/public/themes/website/1/en/demo/about.html +++ b/public/themes/website/1/en/demo/about.html @@ -230,7 +230,7 @@