diff --git a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue index 472b87d1..58e5d931 100644 --- a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue +++ b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue @@ -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)