feat:【ele】【member 会员】优化会员 list、form 相关的代码

This commit is contained in:
YunaiV
2025-10-07 20:30:18 +08:00
parent 2efefb30bb
commit a2ed4445f2
6 changed files with 159 additions and 11 deletions

View File

@@ -40,9 +40,9 @@ export namespace MallCouponApi {
}
/** 发送优惠券 */
export interface SendCoupon {
export interface CouponSendReqVO {
/** 优惠券编号 */
couponId: number;
templateId: number;
/** 用户编号数组 */
userIds: number[];
}
@@ -62,6 +62,6 @@ export function getCouponPage(params: PageParam) {
}
/** 发送优惠券 */
export function sendCoupon(data: MallCouponApi.SendCoupon) {
export function sendCoupon(data: MallCouponApi.CouponSendReqVO) {
return requestClient.post('/promotion/coupon/send', data);
}