moonsflyer 8 mesiacov pred
rodič
commit
7b5871afa9
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/api/logic/SupplyDemandLogic.php

+ 1 - 1
app/api/logic/SupplyDemandLogic.php

@@ -446,7 +446,7 @@ class SupplyDemandLogic extends BaseLogic
         if(isset($get['name'])){
             $where[]=['name','like','%'.$get['name'].'%'];
         }
-        $cate_list = SupplyDemandCate::where($where)->field('id,name,pid')->order('sort desc,id asc')->select()->toArray();
+        $cate_list = SupplyDemandCate::where($where)->field('id,name label,pid')->order('sort desc,id asc')->select()->toArray();
         if($get['is_tree'] == 1) {