新增购物车模块
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 购物车
|
||||
*/
|
||||
export interface Cart {
|
||||
// 购物车表ID
|
||||
id?: string;
|
||||
// 类型 0商城 1预定
|
||||
type?: number;
|
||||
// 商品ID
|
||||
goodsId?: string;
|
||||
// 商品属性
|
||||
goodsAttrUnique?: string;
|
||||
// 商品数量
|
||||
cartNum?: number;
|
||||
// 0 = 未购买 1 = 已购买
|
||||
isPay?: string;
|
||||
// 是否为立即购买
|
||||
isNew?: string;
|
||||
// 拼团id
|
||||
combinationId?: number;
|
||||
// 秒杀产品ID
|
||||
seckillId?: number;
|
||||
// 砍价id
|
||||
bargainId?: number;
|
||||
// 用户ID
|
||||
userId?: string;
|
||||
// 是否删除, 0否, 1是
|
||||
deleted?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 注册时间
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 购物车搜索条件
|
||||
*/
|
||||
export interface CartParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user