a745501e by simon

修改域名

1 parent 8b4e18ac
1 NODE_ENV = 'development' 1 NODE_ENV = 'development'
2 VUE_APP_TITLE = 'development' 2 VUE_APP_TITLE = 'development'
3 VUE_APP_BASE_URL= 'https://ow.go.qudone.com' 3 VUE_APP_BASE_URL= 'https://testapi.kdao.xin'
4 4
5 5
6 VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' 6 VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
......
1 1
2 NODE_ENV = 'production' 2 NODE_ENV = 'production'
3 VUE_APP_TITLE = 'dist' 3 VUE_APP_TITLE = 'dist'
4 VUE_APP_BASE_URL= 'https://ow.go.qudone.com' 4 VUE_APP_BASE_URL= 'https://testapi.kdao.xin'
5 5
6 VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' 6 VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
7 VUE_APP_CONTENT_ENCRYPT_SWITCH = true 7 VUE_APP_CONTENT_ENCRYPT_SWITCH = true
......
...@@ -52,9 +52,6 @@ function Toast(msg) { ...@@ -52,9 +52,6 @@ function Toast(msg) {
52 // console.log(process.env); 52 // console.log(process.env);
53 let baseURL = process.env.VUE_APP_BASE_URL; 53 let baseURL = process.env.VUE_APP_BASE_URL;
54 // baseURL = "http://localhost:9101"; 54 // baseURL = "http://localhost:9101";
55 // if (window.location.href.indexOf("192.168") != -1) {
56 // baseURL = "https://ow.go.qudone.com";
57 // }
58 const axios = axiosIns.create({ 55 const axios = axiosIns.create({
59 baseURL: baseURL, 56 baseURL: baseURL,
60 timeout: 10000 57 timeout: 10000
......