diff --git a/App.vue b/App.vue
index 033d8e8..ce3ed2f 100644
--- a/App.vue
+++ b/App.vue
@@ -15,15 +15,15 @@
snNo: '', // 设备sn号
platformType: '', //区分平台
//正式
- url: 'https://hsg.dctpay.com/user',
- graurl: 'https://pay.dctpay.com/crest',
- imgUrl: 'https://pay.dctpay.com/filesystem/',
- imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/',
- //测试
- // url: 'https://hsgcs.dctpay.com/user',
- // graurl:'https://gratia-pay.dctpay.com/crest',
- // imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
+ // url: 'https://hsg.dctpay.com/user',
+ // graurl: 'https://pay.dctpay.com/crest',
+ // imgUrl: 'https://pay.dctpay.com/filesystem/',
// imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/',
+ //测试
+ url: 'https://hsgcs.dctpay.com/user',
+ graurl:'https://gratia-pay.dctpay.com/crest',
+ imgUrl: 'https://hsgcs.dctpay.com/filesystem/',
+ imageWxImg: 'https://hsgcs.dctpay.com/filesystem/wxApplets/',
},
onLaunch: function() {
diff --git a/Utils/Api.js b/Utils/Api.js
index ee32f29..16eaa91 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -11,8 +11,8 @@ export const getQrCodeDetail = params => {
//银行卡识别
export const recognizeBankCard = params => {
return POST('GET', `${grabase}/ocr/recognizeBankCard`, params).then(res => res.data);
-}
-
+}
+
//创建 JSAPI 订单
export const createJSAPIOrder = params => {
return POST('POST', `${grabase}/tradeOrder/createJSAPIOrder`, params).then(res => res.data);
@@ -20,22 +20,22 @@ export const createJSAPIOrder = params => {
// 支付 JSAPI 订单
export const jsapiPay = params => {
return POST('POST', `${grabase}/pay/jsapiPay`, params).then(res => res.data);
-}
-
-//计算价格
+}
+
+//计算价格
export const calculation = params => {
return POST('GET', `${grabase}/tradeOrder/calculation`, params).then(res => res.data);
-}
-
+}
+
//H5 code 转化openid
export const getH5AccessToken = params => {
return POST('GET', `${base}/wechat/getH5AccessToken`, params).then(res => res.data);
}
-
-//支付宝获取openid
+
+//支付宝获取openid
export const getAlipayUserId = params => {
return POST('GET', `${grabase}/login/getAlipayUserId`, params).then(res => res.data);
-}
+}
//获取登录验证码
export const getLoginSMSCode = params => {
@@ -62,4 +62,9 @@ export const getUserDetail = params => {
//查询优惠券
export const queryUserDiscountList = params => {
return POST('GET', `${base}/discount/queryUserDiscountList`, params).then(res => res.data);
-}
+}
+
+// 获取拉卡拉银联用户id
+export const getLkLUnionUserId = params => {
+ return POST('POST', `${grabase}/tradeOrder/getLkLUnionUserId`, params).then(res => res.data);
+}
diff --git a/pages/welcome/welcome.vue b/pages/welcome/welcome.vue
index 9d1c968..1f49b97 100644
--- a/pages/welcome/welcome.vue
+++ b/pages/welcome/welcome.vue
@@ -1,25 +1,35 @@
-