初始化
This commit is contained in:
31
api/shop/goodsSpec/model/index.ts
Normal file
31
api/shop/goodsSpec/model/index.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 商品多规格
|
||||
*/
|
||||
export interface GoodsSpec {
|
||||
// 主键
|
||||
id?: number;
|
||||
// 商品ID
|
||||
goodsId?: number;
|
||||
// 规格ID
|
||||
specId?: number;
|
||||
// 规格名称
|
||||
specName?: string;
|
||||
// 规格值
|
||||
valueList?: any[];
|
||||
specValue?: string;
|
||||
// 活动类型 0=商品,1=秒杀,2=砍价,3=拼团
|
||||
type?: string;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品多规格搜索条件
|
||||
*/
|
||||
export interface GoodsSpecParam extends PageParam {
|
||||
id?: number;
|
||||
goodsId: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user