Commit a793cd1a authored by liwei's avatar liwei

修改了报名活动

parent 25fb6660
......@@ -112,6 +112,7 @@ import {activityDetail, addApplication, pay} from "../api/activity/index.js"
const activityId = this.activityId
const orderId = res.data.data.businessId
// 支付
if (res.data.data.price != 0){
const payquery = {
orderId: orderId,
activityId: this.activityId,
......@@ -166,6 +167,12 @@ import {activityDetail, addApplication, pay} from "../api/activity/index.js"
})
}
})
} else {
uni.showToast({
title: '下单成功!',
icon: 'none'
})
}
} else if(res.data.code !== 200){
uni.showToast({
title: res.data.message,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment