promotion:新增砍价记录列表

This commit is contained in:
YunaiV
2023-10-05 12:06:57 +08:00
parent 42f0bf07f0
commit 860872a890
5 changed files with 220 additions and 3 deletions

View File

@ -0,0 +1,19 @@
import request from '@/config/axios'
export interface BargainRecordVO {
id: number
activityId: number
userId: number
spuId: number
skuId: number
bargainFirstPrice: number
bargainPrice: number
status: number
orderId: number
endTime: Date
}
// 查询砍价记录列表
export const getBargainRecordPage = async (params) => {
return await request.get({ url: `/promotion/bargain-record/page`, params })
}

View File

@ -2,6 +2,8 @@ import request from '@/config/axios'
import dayjs from 'dayjs'
import { formatDate } from '@/utils/formatTime'
// todo @疯狂:挪到 mall 里哈
/** 交易统计对照 Response VO */
export interface TradeStatisticsComparisonRespVO<T> {
value: T