|
|
@ -50,7 +50,7 @@ class Category extends Controller |
|
|
|
$merchantId = (int)$this->request->param('merchantId', 0); |
|
|
|
$merchantId = (int)$this->request->param('merchantId', 0); |
|
|
|
$model = new CategoryModel; |
|
|
|
$model = new CategoryModel; |
|
|
|
$hasGoods = GoodsCategoryRel::getcategory($this->storeId,$merchantId); |
|
|
|
$hasGoods = GoodsCategoryRel::getcategory($this->storeId,$merchantId); |
|
|
|
|
|
|
|
print_r($hasGoods);die; |
|
|
|
$arr = []; |
|
|
|
$arr = []; |
|
|
|
if (!empty($arr)) { |
|
|
|
if (!empty($arr)) { |
|
|
|
$arr = ['cataIds' => $hasGoods]; |
|
|
|
$arr = ['cataIds' => $hasGoods]; |
|
|
|