|
|
|
@ -181,43 +181,8 @@ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
// this.phone = "18855146869" |
|
|
|
|
// this.saveHelpInfo() |
|
|
|
|
}, |
|
|
|
|
//保存助力信息 |
|
|
|
|
saveHelpInfo(){ |
|
|
|
|
|
|
|
|
|
uni.request({ |
|
|
|
|
url: 'http://192.168.1.6:8089/applet/activity/help/save', |
|
|
|
|
method: 'post', |
|
|
|
|
data: { |
|
|
|
|
winnerId: this.winnerId, |
|
|
|
|
phone: this.phone |
|
|
|
|
} |
|
|
|
|
}).then(resp => { |
|
|
|
|
if(resp.data.code == 200) { |
|
|
|
|
console.log(resp) |
|
|
|
|
uni.showToast({ |
|
|
|
|
icon: 'none', |
|
|
|
|
title: `助力成功` |
|
|
|
|
}) |
|
|
|
|
this.disBtn = true |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// saveHelpInfo({ |
|
|
|
|
// winnerId: this.winnerId, |
|
|
|
|
// phone: this.phone |
|
|
|
|
// }).then(resp => { |
|
|
|
|
// if(resp.code == 200) { |
|
|
|
|
// uni.showToast({ |
|
|
|
|
// icon: 'none', |
|
|
|
|
// title: `助力成功` |
|
|
|
|
// }) |
|
|
|
|
// this.disBtn = true |
|
|
|
|
// } |
|
|
|
|
// }) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
|