This commit is contained in:
xiao-fajia 2024-09-29 09:49:31 +08:00
commit 78ac82f238
3 changed files with 20 additions and 2 deletions

View File

@ -18,6 +18,24 @@ export function attendActive(data) {
}) })
} }
// 参加营销活动
export function attendActiveOrder(data) {
return request({
url: '/base/customer-active/attendActiveOrder',
method: 'post',
data: data
})
}
// 充值
export function recharge(data) {
return request({
url: '/base/customer-active/recharge',
method: 'post',
data: data
})
}
// 获得营销活动分页 // 获得营销活动分页
export function joinActive(params) { export function joinActive(params) {
return request({ return request({

View File

@ -202,7 +202,7 @@ export default {
selectCoupon:this.multipleSelection, selectCoupon:this.multipleSelection,
accountType: this.accountType accountType: this.accountType
} }
await ActiveMainApi.attendActive(data); await ActiveMainApi.attendActiveOrder(data);
if (this.formData.isPack == '0'){ if (this.formData.isPack == '0'){
this.$modal.msgSuccess("已生成订单,请客户尽快支付"); this.$modal.msgSuccess("已生成订单,请客户尽快支付");
} else { } else {

View File

@ -141,7 +141,7 @@ export default {
topUpAmount: this.topUpAmount, topUpAmount: this.topUpAmount,
accountType: this.accountType accountType: this.accountType
} }
await ActiveMainApi.attendActive(data); await ActiveMainApi.attendActiveOrder(data);
this.$modal.msgSuccess("已生成订单,请客户尽快支付"); this.$modal.msgSuccess("已生成订单,请客户尽快支付");
this.dialogVisible = false this.dialogVisible = false
this.$emit('success'); this.$emit('success');