unknown 9 달 전
부모
커밋
f5b2cea431
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      application/api/controller/Product.php

+ 5 - 5
application/api/controller/Product.php

@@ -894,12 +894,12 @@ class Product extends Api
 
             $resultArray[$firstKey][$secondKey][] = $thirdValue;
         }
-        if (isset($param['sort'])){
-            $result['标准工艺']['智能车间'] = $resultArray['标准工艺']['智能车间'];
-        }else{
-            unset($resultArray['标准工艺']['智能车间']);
+//        if (isset($param['sort'])){
+//            $result['标准工艺']['智能车间'] = $resultArray['标准工艺']['智能车间'];
+//        }else{
+//            unset($resultArray['标准工艺']['智能车间']);
             $result = $resultArray;
-        }
+//        }
         $this->success('请求成功',$result);
     }
     /**