From 1d350d220e322b92865fda2de2fa798e4acec753 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Wed, 27 Jan 2021 11:29:01 +0800 Subject: [PATCH] 微信支付 完成 --- src/api/orderPay/orderPay.js | 12 ++++++++++++ src/components/orderPay.vue | 36 +++++++++++++++++++++++++++++++++++- src/utils/utils.js | 12 +++++++++--- 3 files changed, 56 insertions(+), 4 deletions(-) diff --git a/src/api/orderPay/orderPay.js b/src/api/orderPay/orderPay.js index 37ceebd..dd4f27f 100644 --- a/src/api/orderPay/orderPay.js +++ b/src/api/orderPay/orderPay.js @@ -26,4 +26,16 @@ export function vxPayQuery(params) { // 微信 } +export function bankH5Pay(params) { // 农行 + return request({ + url: 'abcBankPay/bankH5Pay', + method: 'post', + data: params + }) +} + + + + + diff --git a/src/components/orderPay.vue b/src/components/orderPay.vue index 30cb9d7..61d69ff 100644 --- a/src/components/orderPay.vue +++ b/src/components/orderPay.vue @@ -40,7 +40,7 @@