Commit bbee10ca1b817c88da808362c8d2c78a8c8dc62c

Authored by 刘淇
1 parent 3a799e7e

通道码

src/router/index.js
@@ -12,7 +12,7 @@ const router = new Router({ @@ -12,7 +12,7 @@ const router = new Router({
12 { 12 {
13 path: '/', 13 path: '/',
14 redirect: { 14 redirect: {
15 - name: 'parkEnter' 15 + name: 'plateNumber'
16 } 16 }
17 }, 17 },
18 // { 18 // {
src/utils/request.js
@@ -10,7 +10,7 @@ const service = axios.create({ @@ -10,7 +10,7 @@ const service = axios.create({
10 10
11 // https://dev.renniting.cn/pay/ 赤峰农行测试环境 11 // https://dev.renniting.cn/pay/ 赤峰农行测试环境
12 12
13 - baseURL: 'https://dev.renniting.cn/pay/', // url = base url + request url 13 + baseURL: 'https://pay.jycrtc.com/', // url = base url + request url
14 // withCredentials: true, // send cookies when cross-domain requests 14 // withCredentials: true, // send cookies when cross-domain requests
15 timeout: 6000 // request timeout 15 timeout: 6000 // request timeout
16 }) 16 })
src/utils/utils.js
@@ -166,22 +166,13 @@ export default { @@ -166,22 +166,13 @@ export default {
166 166
167 167
168 168
169 - // 0eca8f5373ca4866aec2f8e9d9367104 老的id  
170 - // 14318527b13840c2a4af63fef52c2d6e 老的签名  
171 -  
172 - // ud8yq5tv0inxupc05xfeau39jywlqoj2 新的id  
173 - // ny1u72b6k374sg379z0kqjgfxe2ycnpw 新的签名  
174 -  
175 - myVarAppid:'ud8yq5tv0inxupc05xfeau39jywlqoj2',// 公共请求Appid 169 + myVarAppid:'0eca8f5373ca4866aec2f8e9d9367104',// 公共请求Appid
176 170
177 myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 171 myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息
178 172
179 - myVxAppId: 'wx2af2bab90d433c86',  
180 - // 测试环境 微信赤峰 appid wxff4cebaedbf4f886  
181 - // 微信赤峰 appid wx2af2bab90d433c86  
182 - // 黄石 appid wxa1a66cc7d263afe6 173 + myVxAppId: 'wxfdc1af620d3ab750',
183 174
184 - myOrgId: '10003', // 归属地 赤峰id 10003 黄石 10079 175 + myOrgId: '10107',
185 176
186 myGetSign: function (objb) { // 获取签名 177 myGetSign: function (objb) { // 获取签名
187 var compare = function (obj1, obj2) { 178 var compare = function (obj1, obj2) {
@@ -196,13 +187,13 @@ export default { @@ -196,13 +187,13 @@ export default {
196 } 187 }
197 } 188 }
198 objb.sort(compare); 189 objb.sort(compare);
199 - var strmd5 = 'ny1u72b6k374sg379z0kqjgfxe2ycnpw'; 190 + var strmd5 = '14318527b13840c2a4af63fef52c2d6e';
200 for(var i=0;i<objb.length;i++){ 191 for(var i=0;i<objb.length;i++){
201 if(objb[i].value != null&&objb[i].value != ''){ 192 if(objb[i].value != null&&objb[i].value != ''){
202 strmd5 += objb[i].keyname+objb[i].value; 193 strmd5 += objb[i].keyname+objb[i].value;
203 } 194 }
204 } 195 }
205 - strmd5 += 'ny1u72b6k374sg379z0kqjgfxe2ycnpw'; 196 + strmd5 += '14318527b13840c2a4af63fef52c2d6e';
206 // console.log('strmd5-------->'+strmd5); 197 // console.log('strmd5-------->'+strmd5);
207 strmd5 = md5(strmd5); 198 strmd5 = md5(strmd5);
208 strmd5=strmd5.toUpperCase(); 199 strmd5=strmd5.toUpperCase();