Browse Source

二级分类

master
Lemon 5 years ago
parent
commit
69c0dd2e2f
  1. 2
      app/Controller/v3/GoodsController.php

2
app/Controller/v3/GoodsController.php

@ -106,7 +106,7 @@ class GoodsController extends BaseController
$goods['third'] = null;
}
$first = $this->categoryService->getByParentId(0);
$secend = $this->categoryService->getByParentId($goods['category_id']);
$secend = $this->categoryService->getByParentId($goods['first']['id']);
$third = $this->categoryService->getThird($goods['category_id']);
$tags = $this->goodsService->getTags();
return $this->success([

Loading…
Cancel
Save