@ -47,7 +47,7 @@ class Category extends Controller
public function listmerchant(): Json
{
$merchantId = $this->request->param('merchantId', 0);
$merchantId = (int)$this->request->param('merchantId', 0);
$model = new CategoryModel;
$hasGoods = GoodsCategoryRel::getcategory($this->storeId,$merchantId);