Files
admin-vben5/apps/web-antd/src/api/mall/promotion/bargain/bargainHelp.ts
mocheng f18b3ae03e
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
商城
2025-07-19 19:17:41 +08:00

28 lines
655 B
TypeScript

import type { PageParam, PageResult } from '../../../types';
import { requestClient } from '#/api/request';
export namespace MallBargainHelpApi {
/** 砍价记录 */
export interface BargainHelp {
/** 记录编号 */
id: number;
/** 砍价记录编号 */
record: number;
/** 用户编号 */
userId: number;
/** 砍掉金额 */
reducePrice: number;
/** 结束时间 */
endTime: Date;
}
}
/** 查询砍价记录列表 */
export function getBargainHelpPage(params: PageParam) {
return requestClient.get<PageResult<MallBargainHelpApi.BargainHelp>>(
'/promotion/bargain-help/page',
{ params },
);
}