diff --git a/src/api/orderPay/orderPay.js b/src/api/orderPay/orderPay.js index 37ceebd..dc2a28e 100644 --- a/src/api/orderPay/orderPay.js +++ b/src/api/orderPay/orderPay.js @@ -17,6 +17,7 @@ export function getOpenId(params) { // 获取OpenId }) } + export function vxPayQuery(params) { // 微信 return request({ url: 'weixinpay/publicUnifiedOrder', @@ -25,5 +26,27 @@ export function vxPayQuery(params) { // 微信 }) } +// 新接口银联 + +export function doPay(params) { // 微信 + return request({ + url: 'unionpay/doPay', + method: 'post', + data: params + }) +} + + +// 创建订单 + +export function doOrderCreate(params) { // 创建订单 + return request({ + url: 'unionpay/doOrderCreate', + method: 'post', + data: params + }) +} + + diff --git a/src/assets/images/carBlack.png b/src/assets/images/carBlack.png index 3603de8..2698b70 100644 --- a/src/assets/images/carBlack.png +++ b/src/assets/images/carBlack.png diff --git a/src/assets/images/carYellow.png b/src/assets/images/carYellow.png index c57914f..561a94f 100644 --- a/src/assets/images/carYellow.png +++ b/src/assets/images/carYellow.png diff --git a/src/components/orderPay.vue b/src/components/orderPay.vue index 0a79582..372ee93 100644 --- a/src/components/orderPay.vue +++ b/src/components/orderPay.vue @@ -40,7 +40,7 @@ diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue index e8d77e5..0f0b422 100644 --- a/src/components/parkRecord.vue +++ b/src/components/parkRecord.vue @@ -15,7 +15,7 @@
停车30分钟内无需缴费,请直接离场。
+停车30分钟内无需缴费,请直接离场。
停车时长:{{ $utils.dateFormat(i.parkDuration)}}
¥{{(i.unPayFee/100).toFixed(2)}}
-出场缴费
+出场缴费