1212
This commit is contained in:
@@ -112,7 +112,8 @@
|
||||
getSiteInfo(id) {
|
||||
let data2 = {
|
||||
...uni.getStorageSync('location'),
|
||||
siteId: id
|
||||
siteId: id,
|
||||
clientBelong: "ZHONGPIN"
|
||||
}
|
||||
oilSiteApi.getSiteDetails(data2).then(res => {
|
||||
if (res.code == 20000) {
|
||||
|
||||
@@ -318,7 +318,7 @@
|
||||
userIp: (this.userIp?this.userIp:"36.57.160.59") ,
|
||||
merchantNo:'10089027856'
|
||||
}
|
||||
|
||||
console.log(payData,'payDatapayData')
|
||||
oilPayApi.aggregatePay(payData).then(res => {
|
||||
if (res.code == 20000) {
|
||||
uni.requestPayment({
|
||||
@@ -327,10 +327,6 @@
|
||||
success: (res1) => {
|
||||
console.log(res)
|
||||
if (res.code == 20000) {
|
||||
// this.getPayStatus(this.outTradeNo)
|
||||
// this.getLastMoney()
|
||||
// this.getCards()
|
||||
// console.log('success:' + JSON.stringify(res));
|
||||
uni.showToast({
|
||||
title: res.msg
|
||||
})
|
||||
@@ -351,23 +347,9 @@
|
||||
}
|
||||
},
|
||||
fail: function(err) {
|
||||
console.log(res, err, '************')
|
||||
// console.log('fail:' + JSON.stringify(err));
|
||||
}
|
||||
})
|
||||
// uni.showToast({
|
||||
// title: res.msg
|
||||
// })
|
||||
// uni.redirectTo({
|
||||
// url: '/BagStation/pages/makeOrder/payResult?status=success',
|
||||
// fail: (err) => {
|
||||
// console.log(err)
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
// uni.redirectTo({
|
||||
// url: '/BagStation/pages/makeOrder/payResult?status=fail'
|
||||
// })
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user