From 595f274261f5e6e23a021b5fa0d0d30321f2412e Mon Sep 17 00:00:00 2001
From: liugongyu <290219706@qq.com>
Date: Wed, 7 Sep 2022 09:19:03 +0800
Subject: [PATCH] 西城家园
---
dist 2.zip | Bin 705477 -> 0 bytes
dist.zip | Bin 705486 -> 0 bytes
index.html | 2 +-
src/components/orderPay.vue | 9 +++++----
src/components/parkRecord.vue | 8 ++++----
src/components/plateNumber.vue | 11 +++++++++++
src/utils/utils.js | 2 +-
7 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/dist 2.zip b/dist 2.zip
index a78aaf5..8e84ada 100644
Binary files a/dist 2.zip and b/dist 2.zip differ
diff --git a/dist.zip b/dist.zip
index abd0d08..99c3b06 100644
Binary files a/dist.zip and b/dist.zip differ
diff --git a/index.html b/index.html
index e0f2bef..eaefae7 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
-
小票码扫码支付
+ 停车支付
diff --git a/src/components/orderPay.vue b/src/components/orderPay.vue
index ae39e30..5e010ee 100644
--- a/src/components/orderPay.vue
+++ b/src/components/orderPay.vue
@@ -118,7 +118,8 @@ export default {
}
if (this.clientBrowser == '支付宝') { // 支付宝支付
- var aliParams = {};
+ console.log('支付宝')
+ let aliParams = {};
aliParams.backDeveloperCode= "";
aliParams.orderId = this.orderId;
@@ -147,7 +148,7 @@ export default {
bankabcParams.orderId = this.orderId;
bankabcParams.carNumber = this.carNumber;
bankabcParams.payType = 34;// 1:支付宝 2:微信 3:银联 10:H5 4微信公众号 34 农行
- bankabcParams.terminalSource = 3;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付
+ bankabcParams.terminalSource = 7;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付
bankabcParams.paySrcType = this.paySrcType;//101停车支付
bankabcParams.orgId = this.$utils.myOrgId,
bankabcParams.backType = 2,
@@ -241,7 +242,7 @@ export default {
wxParams.backType = 2,
wxParams.orgId = this.$utils.myOrgId,
wxParams.payType = 4;// 1:支付宝 2:微信 3:银联 10:H5 4微信公众号
- wxParams.terminalSource = 3;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付
+ wxParams.terminalSource = 7;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付
wxParams.carNumber = this.carNumber;
wxParams.paySrcType = this.paySrcType;//101停车支付
wxParams.recordArreaInfos = JSON.stringify(orderIdData);
@@ -295,7 +296,7 @@ export default {
pageNum: 1,
pageSize: 10000,
parkState: 10,
- terminalSource: 3,
+ terminalSource: 7,
carNumber: me.carNumber,
app_id: me.$utils.myVarAppid,
deviceInfo: me.$utils.myDeviceInfo,
diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue
index d20ce98..07a471c 100644
--- a/src/components/parkRecord.vue
+++ b/src/components/parkRecord.vue
@@ -184,7 +184,7 @@ export default {
pageNum: '1',
pageSize: '1000',
parkState: '10',
- terminalSource: '3',
+ terminalSource: '7',
carNumber: this.carNumber,
// carNumberColor: this.carColor,
// orgId: this.$utils.myOrgId
@@ -276,7 +276,7 @@ export default {
sign_type: "md5",
orderId: i.orderId,
payOrderType: '101',
- terminalSource: '3',
+ terminalSource: '7',
}
params.sign = this.$utils.signObject(params)
appApplyParkOut(params).then(response => {
@@ -292,7 +292,7 @@ export default {
payType: this.$utils.clientBrowsePayType(),
appId: this.$utils.myVxAppId,
orderId: i.orderId,
- terminalSource: '3',
+ terminalSource: '7',
parkCode: i.parkCode,
carNumber: this.carNumber,
}
@@ -346,7 +346,7 @@ export default {
sign_type: "md5",
appId: this.$utils.myVxAppId,
orderIds: list,
- terminalSource: '3',
+ terminalSource: '7',
payType: this.$utils.clientBrowsePayType(),
orgId: this.$utils.myOrgId,
}
diff --git a/src/components/plateNumber.vue b/src/components/plateNumber.vue
index 8b67788..16620ec 100644
--- a/src/components/plateNumber.vue
+++ b/src/components/plateNumber.vue
@@ -61,6 +61,9 @@
先离场后付费
+
+
+
@@ -351,6 +354,14 @@ export default {
let schemeEncode = encodeURIComponent('alipays://platformapi/startapp?appId=20000067&url=https%3A%2F%2Frender.alipay.com%2Fp%2Fc%2Ftr-18jqmmvj4ehs%3FchInfo%3Dsichuanying');
let zfbUrl = `https://ds.alipay.com/?scheme=${schemeEncode}`
console.log('zfbUrl: ', zfbUrl);
+
+
+ if (navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) {
+ location.href = zfbUrl;//此处判断是否为ios后,使用location.href跳转
+ }
+ // window.location.href = '/dealSuccess/' + orderNum;//安卓跳转
+
+
window.location.href = zfbUrl;
},
getUrlParam(name) {
diff --git a/src/utils/utils.js b/src/utils/utils.js
index 1d6fc36..30121c5 100644
--- a/src/utils/utils.js
+++ b/src/utils/utils.js
@@ -128,7 +128,7 @@ export default {
// 微信赤峰 appid wx2af2bab90d433c86
// 黄石 appid wxa1a66cc7d263afe6
- myOrgId: '10003', // 归属地 赤峰id 10003 黄石 10079
+ myOrgId: '10007', // 归属地 赤峰id 10003 黄石 10079
myGetSign: function (objb) { // 获取签名
var compare = function (obj1, obj2) {
--
libgit2 0.21.4