pull/36/head
zcx 8 months ago
parent c26e306b3a
commit 65149c38cd
  1. 35
      src/pages/me/help.vue

@ -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>

Loading…
Cancel
Save