This commit is contained in:
caolc
2023-06-06 14:56:49 +08:00
parent 20725ea756
commit 0649c17512
2 changed files with 5 additions and 4 deletions

View File

@@ -285,7 +285,7 @@
this.cooling = true this.cooling = true
setTimeout(() => { setTimeout(() => {
this.cooling = false this.cooling = false
}, 5000) }, 5000);
if (this.activePay == 0) { if (this.activePay == 0) {
this.selfCardPay() this.selfCardPay()
} else if (this.activePay == 2) { } else if (this.activePay == 2) {
@@ -315,7 +315,8 @@
payCode: 'WECHAT_ORDER_PAY_WECHAT', //APP填WECHAT_ORDER_PAY_APP小程序填 payCode: 'WECHAT_ORDER_PAY_WECHAT', //APP填WECHAT_ORDER_PAY_APP小程序填
orderId: this.order.orderSerialNumber, orderId: this.order.orderSerialNumber,
payClient: 'XOIL_DRIVER_WECHAT_APPLET', //"支付端。安卓XOIL_DRIVER_ANDROID小程序 payClient: 'XOIL_DRIVER_WECHAT_APPLET', //"支付端。安卓XOIL_DRIVER_ANDROID小程序
userIp: (this.userIp?this.userIp:"36.57.160.59") userIp: (this.userIp?this.userIp:"36.57.160.59"),
merchantNo:10089145264
} }
oilPayApi.aggregatePay(payData).then(res => { oilPayApi.aggregatePay(payData).then(res => {
@@ -391,7 +392,7 @@
"orderSerialNumber": this.order.orderSerialNumber, //类型String 必有字段 备注:订单编号 "orderSerialNumber": this.order.orderSerialNumber, //类型String 必有字段 备注:订单编号
"payChannel": "BALANCE_PAYMENT", //类型String 必有字段 备注支付渠道BALANCE_PAYMENT余额支付 "payChannel": "BALANCE_PAYMENT", //类型String 必有字段 备注支付渠道BALANCE_PAYMENT余额支付
"orderMethod": "CUSTOMER_ACTIVE", //类型String 必有字段 备注订单产生方式CUSTOMER_ACTIVE客户扫码支付客户扫描油站二维码完成支付 "orderMethod": "CUSTOMER_ACTIVE", //类型String 必有字段 备注订单产生方式CUSTOMER_ACTIVE客户扫码支付客户扫描油站二维码完成支付
"createSource": "XOIL_DRIVER_WECHAT_APPLET" "createSource": "XOIL_DRIVER_WECHAT_APPLET",
} }
oilOrderApi.payOrder(payData).then(res => { oilOrderApi.payOrder(payData).then(res => {
if (res.code == 20000) { if (res.code == 20000) {

View File

@@ -1,6 +1,6 @@
{ {
"name" : "XiaoXing", "name" : "XiaoXing",
"appid" : "__UNI__EA8D131", "appid" : "__UNI__62FBBA8",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",