活动报名
This commit is contained in:
@@ -219,9 +219,16 @@ export default {
|
|||||||
this.$http.post(`/app/appmarketingactivityinfo/bindPhone?phone=${this.phone}`).then((res) => {
|
this.$http.post(`/app/appmarketingactivityinfo/bindPhone?phone=${this.phone}`).then((res) => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.showPhoneMask = false
|
this.showPhoneMask = false
|
||||||
this.signUp()
|
|
||||||
this.getDetail()
|
this.getDetail()
|
||||||
this.$u.toast('绑定成功')
|
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) => {
|
}).catch((err) => {
|
||||||
this.$u.toast(err)
|
this.$u.toast(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user