diff --git a/src/api/mall/product/spu.ts b/src/api/mall/product/spu.ts
index 7862f8b8..60248dd1 100644
--- a/src/api/mall/product/spu.ts
+++ b/src/api/mall/product/spu.ts
@@ -64,6 +64,8 @@ export interface Spu {
status?: number // 商品状态
types?: number // 商品类型
deviceId?: number // 设备号
+ purchaseLimitType?: number // 限购类型:0-不限购,1-每天限购,2-每周限购,3-终身限购
+ purchaseLimitCount?: number // 限购数量
}
// 获得 Spu 列表
diff --git a/src/api/product/device/index.ts b/src/api/product/device/index.ts
index 24a4187d..8aef4f6b 100644
--- a/src/api/product/device/index.ts
+++ b/src/api/product/device/index.ts
@@ -10,6 +10,7 @@ export interface DeviceVO {
adType: string // 广告类型
adUrl: string // 广告链接
adImage: string // 广告图片
+ showInApp?: boolean // 是否在 APP 中显示
}
diff --git a/src/views/mall/product/containergoods/form/InfoForm.vue b/src/views/mall/product/containergoods/form/InfoForm.vue
index ef237c59..875f110a 100644
--- a/src/views/mall/product/containergoods/form/InfoForm.vue
+++ b/src/views/mall/product/containergoods/form/InfoForm.vue
@@ -54,6 +54,35 @@
class="w-80!"
/>
+ 限购配置
+
+
+
+
+
+
+
+
+
+
+
+ 配合限购类型使用,例如:每天限购 2 件
+
+