活动报名

This commit is contained in:
liuye
2023-02-06 14:42:27 +08:00
parent e0947ebaab
commit 4a4ac40ecb

View File

@@ -219,9 +219,16 @@ export default {
this.$http.post(`/app/appmarketingactivityinfo/bindPhone?phone=${this.phone}`).then((res) => {
if (res.code == 0) {
this.showPhoneMask = false
this.signUp()
this.getDetail()
this.$u.toast('绑定成功')
this.$http.post(`/app/appmarketingactivityinfo/signup?activityId=${this.activityId}`).then((res) => {
if (res.code == 0) {
this.$u.toast('活动报名成功!')
this.getDetail()
}
}).catch((err) => {
this.$u.toast(err)
})
}
}).catch((err) => {
this.$u.toast(err)