From 32033832621ca47b461f7a429155f7f8a3fad287 Mon Sep 17 00:00:00 2001
From: yangsanTT <812952667@qq.com>
Date: Wed, 27 Oct 2021 21:02:43 +0800
Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E8=AF=9D=E8=B4=B9=E6=94=AF?=
=?UTF-8?q?=E4=BB=98=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
high-unionPay/App.vue | 16 +-
high-unionPay/Utils/Api.js | 15 ++
high-unionPay/pages/login/register.vue | 2 +-
.../recharge-centre/recharge-centre.vue | 196 ++++++++++++++++--
high-unionPay/static/img/unionimg/upay3.jpg | Bin 294697 -> 414484 bytes
5 files changed, 201 insertions(+), 28 deletions(-)
diff --git a/high-unionPay/App.vue b/high-unionPay/App.vue
index b9d974e..0ded058 100644
--- a/high-unionPay/App.vue
+++ b/high-unionPay/App.vue
@@ -5,15 +5,15 @@
// brestUrl: 'http://192.168.3.4:9302/brest',
// imgUrl: 'https://192.168.3.4:9301/filesystem/',
//正式
- url: 'https://hsg.dctpay.com/crest',
- imgUrl: 'https://hsg.dctpay.com/filesystem/',
- brestUrl : 'https://hsg.dctpay.com/brest',
- imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/',
+ // url: 'https://hsg.dctpay.com/crest',
+ // imgUrl: 'https://hsg.dctpay.com/filesystem/',
+ // brestUrl : 'https://hsg.dctpay.com/brest',
+ // imageWxImg:'https://hsg.dctpay.com/filesystem/wxApplets/',
//测试
- // url: 'https://hsgcs.dctpay.com/crest',
- // brestUrl : 'https://hsgcs.dctpay.com/brest',
- // imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
- // imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
+ url: 'https://hsgcs.dctpay.com/crest',
+ brestUrl : 'https://hsgcs.dctpay.com/brest',
+ imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
+ imageWxImg:'https://hsgcs.dctpay.com/filesystem/wxApplets/',
userInfo: "",
brestUserInfo : '',
openId: '',
diff --git a/high-unionPay/Utils/Api.js b/high-unionPay/Utils/Api.js
index 6121491..637ee5a 100644
--- a/high-unionPay/Utils/Api.js
+++ b/high-unionPay/Utils/Api.js
@@ -157,6 +157,21 @@ export const getCmsContent = params => {
return POST('GET', `${base}/cmsContent/getCmsContent`, params).then(res => res.data);
}
+//提交订单
+export const addOrderPay = params => {
+ return POST('POST', `${base}/outRechargeOrder/addOrder`, params).then(res => res.data);
+}
+//话费充值查询
+export const getListOutRechargePrice = params => {
+ return POST('GET', `${base}/outRechargePrice/getListOutRechargePrice`, params).then(res => res.data);
+}
+//提交订单
+export const orderToUNionPay = params => {
+ return POST('POST', `${base}/outRechargeOrder/orderToPay`, params).then(res => res.data);
+}
+
+
+
/**
* 工会卡
*/
diff --git a/high-unionPay/pages/login/register.vue b/high-unionPay/pages/login/register.vue
index f99c3f0..3ab1ad4 100644
--- a/high-unionPay/pages/login/register.vue
+++ b/high-unionPay/pages/login/register.vue
@@ -153,7 +153,7 @@
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa075e8509802f826&redirect_uri=https%3A%2F%2Fhsgcs.dctpay.com%2FH5%2Findex.html%23%2F&response_type=code&scope=snsapi_base&state=1#wechat_redirect'
} else {
uni.reLaunch({
- url: '/pages/tabBar/home/home'
+ url: '../unionPay/unionPay-entrance/unionPay-entrance'
})
}
diff --git a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
index cb8bb20..cbab744 100644
--- a/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
+++ b/high-unionPay/pages/unionPay/recharge-centre/recharge-centre.vue
@@ -12,32 +12,38 @@
选择金额
-
- 100元
-
-
-
- 200元
-
-
-
- 300元
+
+ {{item.realPrice}}元
应付: {{inputAmount}}元
- 立即购买
+ 立即购买