diff --git a/application/service/GoodsService.php b/application/service/GoodsService.php index b3f8945e3171b47a15fc7c71cedf64e27a722db7..41873f14d69455e59de561f03103b99e1e458c26 100755 --- a/application/service/GoodsService.php +++ b/application/service/GoodsService.php @@ -216,7 +216,7 @@ class GoodsService $temp = self::GoodsCategoryItemsIds($data, $is_enable); if(!empty($temp)) { - $data = array_merge($data, $temp); + $data = array_merge($ids, $data, $temp); } } return $data;