This commit is contained in:
liuye
2023-02-08 09:02:43 +08:00
parent 05d16d524b
commit e5da308860

View File

@@ -180,7 +180,7 @@ export default {
}); });
this.activityId = option.activityId this.activityId = option.activityId
this.friendId = option.friendId || '' this.friendId = option.friendId || ''
// this.activityId = '75a4c4493de54f9fb63868817079c89c' this.activityId = '75a4c4493de54f9fb63868817079c89c'
this.getDetail() this.getDetail()
this.getAwardedList() this.getAwardedList()
}, },
@@ -235,9 +235,13 @@ export default {
this.showPhoneMask = false this.showPhoneMask = false
}, },
getDetail() { getDetail() {
this.$http.post(`/app/appmarketingactivityinfo/queryDetailByIdWXCP?activityId=${this.activityId}&friendId=${this.friendId}`).then((res) => { this.$http.post(`/app/appmarketingactivityinfo/queryDetailByIdWXCP?activityId=${this.activityId}&friendId=${this.friendId}`, null, {alwaysReturn: true}).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.activeInfo = {...res.data} this.activeInfo = {...res.data}
}else if(res.code == 401) {
this.$confirm('您尚未登录,请重新登录').then(() => {
this.$store.commit('goAuth')
})
} }
}).catch((err) => { }).catch((err) => {
this.$u.toast(err) this.$u.toast(err)