Commit 595f274261f5e6e23a021b5fa0d0d30321f2412e
1 parent
f780f813
西城家园
Showing
7 changed files
with
22 additions
and
10 deletions
dist 2.zip
No preview for this file type
dist.zip
No preview for this file type
index.html
src/components/orderPay.vue
... | ... | @@ -118,7 +118,8 @@ export default { |
118 | 118 | } |
119 | 119 | |
120 | 120 | if (this.clientBrowser == '支付宝') { // 支付宝支付 |
121 | - var aliParams = {}; | |
121 | + console.log('支付宝') | |
122 | + let aliParams = {}; | |
122 | 123 | aliParams.backDeveloperCode= ""; |
123 | 124 | |
124 | 125 | aliParams.orderId = this.orderId; |
... | ... | @@ -147,7 +148,7 @@ export default { |
147 | 148 | bankabcParams.orderId = this.orderId; |
148 | 149 | bankabcParams.carNumber = this.carNumber; |
149 | 150 | bankabcParams.payType = 34;// 1:支付宝 2:微信 3:银联 10:H5 4微信公众号 34 农行 |
150 | - bankabcParams.terminalSource = 3;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付 | |
151 | + bankabcParams.terminalSource = 7;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付 | |
151 | 152 | bankabcParams.paySrcType = this.paySrcType;//101停车支付 |
152 | 153 | bankabcParams.orgId = this.$utils.myOrgId, |
153 | 154 | bankabcParams.backType = 2, |
... | ... | @@ -241,7 +242,7 @@ export default { |
241 | 242 | wxParams.backType = 2, |
242 | 243 | wxParams.orgId = this.$utils.myOrgId, |
243 | 244 | wxParams.payType = 4;// 1:支付宝 2:微信 3:银联 10:H5 4微信公众号 |
244 | - wxParams.terminalSource = 3;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付 | |
245 | + wxParams.terminalSource = 7;//请求端来源 1: 任你停 2:pda 3:微信公共号 7:H5扫码 10页面支付 | |
245 | 246 | wxParams.carNumber = this.carNumber; |
246 | 247 | wxParams.paySrcType = this.paySrcType;//101停车支付 |
247 | 248 | wxParams.recordArreaInfos = JSON.stringify(orderIdData); |
... | ... | @@ -295,7 +296,7 @@ export default { |
295 | 296 | pageNum: 1, |
296 | 297 | pageSize: 10000, |
297 | 298 | parkState: 10, |
298 | - terminalSource: 3, | |
299 | + terminalSource: 7, | |
299 | 300 | carNumber: me.carNumber, |
300 | 301 | app_id: me.$utils.myVarAppid, |
301 | 302 | deviceInfo: me.$utils.myDeviceInfo, | ... | ... |
src/components/parkRecord.vue
... | ... | @@ -184,7 +184,7 @@ export default { |
184 | 184 | pageNum: '1', |
185 | 185 | pageSize: '1000', |
186 | 186 | parkState: '10', |
187 | - terminalSource: '3', | |
187 | + terminalSource: '7', | |
188 | 188 | carNumber: this.carNumber, |
189 | 189 | // carNumberColor: this.carColor, |
190 | 190 | // orgId: this.$utils.myOrgId |
... | ... | @@ -276,7 +276,7 @@ export default { |
276 | 276 | sign_type: "md5", |
277 | 277 | orderId: i.orderId, |
278 | 278 | payOrderType: '101', |
279 | - terminalSource: '3', | |
279 | + terminalSource: '7', | |
280 | 280 | } |
281 | 281 | params.sign = this.$utils.signObject(params) |
282 | 282 | appApplyParkOut(params).then(response => { |
... | ... | @@ -292,7 +292,7 @@ export default { |
292 | 292 | payType: this.$utils.clientBrowsePayType(), |
293 | 293 | appId: this.$utils.myVxAppId, |
294 | 294 | orderId: i.orderId, |
295 | - terminalSource: '3', | |
295 | + terminalSource: '7', | |
296 | 296 | parkCode: i.parkCode, |
297 | 297 | carNumber: this.carNumber, |
298 | 298 | } |
... | ... | @@ -346,7 +346,7 @@ export default { |
346 | 346 | sign_type: "md5", |
347 | 347 | appId: this.$utils.myVxAppId, |
348 | 348 | orderIds: list, |
349 | - terminalSource: '3', | |
349 | + terminalSource: '7', | |
350 | 350 | payType: this.$utils.clientBrowsePayType(), |
351 | 351 | orgId: this.$utils.myOrgId, |
352 | 352 | } | ... | ... |
src/components/plateNumber.vue
... | ... | @@ -61,6 +61,9 @@ |
61 | 61 | <div class="submit-box" @click="toAli()"> |
62 | 62 | 先离场后付费 |
63 | 63 | </div> |
64 | + | |
65 | + | |
66 | + | |
64 | 67 | </div> |
65 | 68 | <div class="first-word-wrap" |
66 | 69 | v-if="firstWrapStatus"> |
... | ... | @@ -351,6 +354,14 @@ export default { |
351 | 354 | let schemeEncode = encodeURIComponent('alipays://platformapi/startapp?appId=20000067&url=https%3A%2F%2Frender.alipay.com%2Fp%2Fc%2Ftr-18jqmmvj4ehs%3FchInfo%3Dsichuanying'); |
352 | 355 | let zfbUrl = `https://ds.alipay.com/?scheme=${schemeEncode}` |
353 | 356 | console.log('zfbUrl: ', zfbUrl); |
357 | + | |
358 | + | |
359 | + if (navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)) { | |
360 | + location.href = zfbUrl;//此处判断是否为ios后,使用location.href跳转 | |
361 | + } | |
362 | + // window.location.href = '/dealSuccess/' + orderNum;//安卓跳转 | |
363 | + | |
364 | + | |
354 | 365 | window.location.href = zfbUrl; |
355 | 366 | }, |
356 | 367 | getUrlParam(name) { | ... | ... |
src/utils/utils.js
... | ... | @@ -128,7 +128,7 @@ export default { |
128 | 128 | // 微信赤峰 appid wx2af2bab90d433c86 |
129 | 129 | // 黄石 appid wxa1a66cc7d263afe6 |
130 | 130 | |
131 | - myOrgId: '10003', // 归属地 赤峰id 10003 黄石 10079 | |
131 | + myOrgId: '10007', // 归属地 赤峰id 10003 黄石 10079 | |
132 | 132 | |
133 | 133 | myGetSign: function (objb) { // 获取签名 |
134 | 134 | var compare = function (obj1, obj2) { | ... | ... |