Commit b54e2f4eacadc41dd369b262b7a89d713d64a131

Authored by liuqimichale
1 parent 092148e6

赤峰测试环境 农行支付

config/index.js
@@ -10,6 +10,7 @@ module.exports = { @@ -10,6 +10,7 @@ module.exports = {
10 // Paths 10 // Paths
11 assetsSubDirectory: 'static', 11 assetsSubDirectory: 'static',
12 assetsPublicPath: '/', 12 assetsPublicPath: '/',
  13 + proxyTable: {},
13 // proxyTable: { 14 // proxyTable: {
14 // '/api':{ 15 // '/api':{
15 // target:"http://39.98.58.92:8090/",//这里设置你要访问的域名(或IP+端口) 16 // target:"http://39.98.58.92:8090/",//这里设置你要访问的域名(或IP+端口)
src/utils/request.js
@@ -5,7 +5,7 @@ import axios from 'axios' @@ -5,7 +5,7 @@ import axios from 'axios'
5 // axios.defaults.baseURL = process.env.API_ROOT 5 // axios.defaults.baseURL = process.env.API_ROOT
6 const service = axios.create({ 6 const service = axios.create({
7 7
8 - // http://pay.service.renniting.cn/ 赤峰 8 + // https://pay.service.renniting.cn/ 赤峰
9 // http://pay.service.huangshiparking.com/ 黄石 9 // http://pay.service.huangshiparking.com/ 黄石
10 10
11 // 'http://39.98.58.92:8090'; 赤峰测试环境 11 // 'http://39.98.58.92:8090'; 赤峰测试环境
@@ -13,7 +13,7 @@ const service = axios.create({ @@ -13,7 +13,7 @@ const service = axios.create({
13 13
14 // https://dev.renniting.cn/pay/ 赤峰农行测试环境 14 // https://dev.renniting.cn/pay/ 赤峰农行测试环境
15 15
16 - baseURL: 'https://dev.renniting.cn/pay/', // url = base url + request url 16 + baseURL: 'https://pay.renniting.cn/', // url = base url + request url
17 // withCredentials: true, // send cookies when cross-domain requests 17 // withCredentials: true, // send cookies when cross-domain requests
18 timeout: 6000 // request timeout 18 timeout: 6000 // request timeout
19 }) 19 })
src/utils/utils.js
@@ -101,7 +101,7 @@ export default { @@ -101,7 +101,7 @@ export default {
101 101
102 myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息 102 myDeviceInfo: 'BC0703A4-AFB0-4B51-9089-9B7487C0CC6E', // 公共请求设备信息
103 103
104 - myVxAppId: 'wxff4cebaedbf4f886', 104 + myVxAppId: 'wx2af2bab90d433c86',
105 // 测试环境 微信赤峰 appid wxff4cebaedbf4f886 105 // 测试环境 微信赤峰 appid wxff4cebaedbf4f886
106 // 微信赤峰 appid wx2af2bab90d433c86 106 // 微信赤峰 appid wx2af2bab90d433c86
107 // 黄石 appid wxa1a66cc7d263afe6 107 // 黄石 appid wxa1a66cc7d263afe6