修改
This commit is contained in:
parent
904df19c7f
commit
2c5424924e
@ -85,6 +85,7 @@
|
||||
buy() {
|
||||
var that = this
|
||||
addHealthConsultationOrder(this.updata).then(res => {
|
||||
if (res.code == 200) {
|
||||
res.data.payType = "WECHAT_PAY"
|
||||
res.data.paymentPrice = res.data.totalPrice
|
||||
res.data.openid = this.openid
|
||||
@ -122,6 +123,13 @@
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
that.$refs.uToast.show({
|
||||
title: res.msg,
|
||||
type: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user