소스 검색

Merge branch 'master' of http://git.huaml.com/zhh/huahuibao

shish 10 달 전
부모
커밋
a278c33e28
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      biz-hd/goods/classes/GoodsCategoryClass.php

+ 2 - 2
biz-hd/goods/classes/GoodsCategoryClass.php

@@ -27,8 +27,8 @@ class GoodsCategoryClass extends BaseClass
         $mainId = $shop->mainId;
         $query = GoodsCategory::find();
         $query->where(['xhGoodsCategory.mainId' => $mainId]);
-        if (!empty($askInfo['catId']) || !empty($askInfo['categoryId'])) {
-            $cId = $askInfo['catId'] ?? 0;
+        if (!empty($askInfo['cId']) || !empty($askInfo['categoryId'])) {
+            $cId = $askInfo['cId'] ?? 0;
             if (empty($cId)) {
                 $cId = $askInfo['categoryId'] ?? 0;
             }