@@ -62,18 +62,8 @@ class PageController extends BaseController
"id" => "required",
"page_size" => "int",
]);
- $this->service->categoryGoods($params);
- return $this->ok([
- "total" => 1,
- "page_total" => 1,
- "list" => [
- [
- "id" => 1,
- "name" => "商品名称",
- "thumb" => Image::imageUrl(),
- ],
- ]);
+
+ return $this->ok($this->service->categoryGoods($params));
}
public function categoryTree()