moonsflyer 4 months ago
parent
commit
09016335f9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/shopapi/logic/GoodsLogic.php

+ 3 - 0
app/shopapi/logic/GoodsLogic.php

@@ -193,6 +193,9 @@ class GoodsLogic extends BaseLogic
                 $cate_arr = array_merge($cate_arr,$three_arr);
             }
 
+            if($v['id'] == 18){
+                outFileLog($cate_arr,'cate_arr','$cate_arr');
+            }
             $good_id_list = GoodsCategoryIndex::where(['category_id'=>$cate_arr])->select()->toArray();
             $goods_list=[];
             if($good_id_list){