diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/product/types/types.vo.ts b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/product/types/types.vo.ts index fdb47fbc..20658e8b 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/product/types/types.vo.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/product/types/types.vo.ts @@ -9,6 +9,10 @@ export namespace ProductVO { id: number; /** 公司ID */ companyId: number; + /** 类目ID */ + categoryId?: number; + /** 类目名称 */ + categoryName?: string; /** 商品名称 */ name: string; /** 链接商品名称 */ diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductCard.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductCard.vue index fa8b35b6..80cdbf50 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductCard.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/product/components/ProductCard.vue @@ -82,11 +82,19 @@ const goToDetails = (product: ProductVO.Info) => {