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.friendId = option.friendId || ''
// this.activityId = '75a4c4493de54f9fb63868817079c89c'
this.activityId = '75a4c4493de54f9fb63868817079c89c'
this.getDetail()
this.getAwardedList()
},
@@ -235,9 +235,13 @@ export default {
this.showPhoneMask = false
},
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) {
this.activeInfo = {...res.data}
}else if(res.code == 401) {
this.$confirm('您尚未登录,请重新登录').then(() => {
this.$store.commit('goAuth')
})
}
}).catch((err) => {
this.$u.toast(err)