Commit e835e028 authored by linxin's avatar linxin

fixed:在线支付

parent 3f286686
......@@ -336,7 +336,11 @@ export default {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
window.open(res.paymentURL)
if (res.return_code !== '0000') {
hlsPopup.showLongCenter(res.error_message)
} else {
window.open(res.paymentURL)
}
} else {
hlsPopup.showLongCenter(res.message)
}
......
......@@ -276,7 +276,11 @@ export default {
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
window.open(res.paymentURL)
if (res.return_code !== '0000') {
hlsPopup.showLongCenter(res.error_message)
} else {
window.open(res.paymentURL)
}
} else {
hlsPopup.showLongCenter(res.message)
}
......
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