Commit f90082f3 by 高淑倩

modify: 积分兑换优惠券

parent 6808e8d1
......@@ -77,15 +77,14 @@ Component({
}
wxService.post(`/coupon/pointsRedemptionCouponSetting/exchange`, this.data.exchangeId).then(res => {
if(res){
if(res.result == 0){
if(res.data.result == 0){
wx.hideLoading()
wx.showToast({
title: '兑换成功',
icon: 'success'
},()=>{
this.setData({
isExchange: false
})
})
this.setData({
isExchange: false
})
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment