初始化
This commit is contained in:
53
api/shop/goodsLog/model/index.ts
Normal file
53
api/shop/goodsLog/model/index.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 商品日志表
|
||||
*/
|
||||
export interface GoodsLog {
|
||||
// 统计ID
|
||||
id?: number;
|
||||
// 类型visit,cart,order,pay,collect,refund
|
||||
type?: string;
|
||||
// 商品ID
|
||||
goodsId?: number;
|
||||
// 是否浏览
|
||||
visitNum?: string;
|
||||
// 加入购物车数量
|
||||
cartNum?: number;
|
||||
// 下单数量
|
||||
orderNum?: number;
|
||||
// 支付数量
|
||||
payNum?: number;
|
||||
// 支付金额
|
||||
payPrice?: string;
|
||||
// 商品成本价
|
||||
costPrice?: string;
|
||||
// 支付用户ID
|
||||
payUid?: number;
|
||||
// 退款数量
|
||||
refundNum?: number;
|
||||
// 退款金额
|
||||
refundPrice?: string;
|
||||
// 收藏
|
||||
collectNum?: string;
|
||||
// 排序(数字越小越靠前)
|
||||
sortNumber?: number;
|
||||
// 状态, 0正常, 1冻结
|
||||
status?: number;
|
||||
// 用户ID
|
||||
userId?: number;
|
||||
// 租户id
|
||||
tenantId?: number;
|
||||
// 注册时间
|
||||
createTime?: string;
|
||||
// 修改时间
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 商品日志表搜索条件
|
||||
*/
|
||||
export interface GoodsLogParam extends PageParam {
|
||||
id?: number;
|
||||
keywords?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user