feat: 代客下单优惠券更新,挂账更新

This commit is contained in:
2025-03-06 11:27:01 +08:00
parent ed9a3335c8
commit dda4db24e0
22 changed files with 1219 additions and 300 deletions

View File

@@ -55,11 +55,11 @@ const CommonApi = {
/**
* 发送验证码
*/
sms(data: smsRequest) {
sms(params: smsRequest) {
return request<any, smsResponse>({
url: `${baseURL}/sms`,
method: "post",
data: data,
method: "get",
params
});
},
};

View File

@@ -32,9 +32,24 @@ const API = {
data: data,
});
},
// 查找优惠券 生成订单后使用
findCoupon(params: findCouponRequest) {
return request<any>({
url: `${baseURL}/findCoupon`,
method: "get",
params
});
},
}
export default API;
export interface findCouponRequest {
/**
* 店铺用户Id
*/
shopUserId: number;
type?: number;
[property: string]: any;
}
export interface queryReceive {
/**
* 优惠券id