Commit ecb7d498 authored by 黄奎's avatar 黄奎

11

parent cf079996
......@@ -122,11 +122,8 @@ export default {
let locationName = window.location.hostname;
let isOnline = 0; //0-本地测试,1-线上
let ocrUrl = "http://192.168.5.46:8888";
// domainUrl = "http://192.168.5.39:8083";
// domainUrl = "http://192.168.5.46:8501";
domainUrl = "http://192.168.5.46";
// domainUrl = "http://reborn.oytour.com";
// domainUrl = "http://192.168.5.214";
let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
let javaUrldo = "";
......@@ -134,9 +131,8 @@ export default {
//商城API
mallUrl = "http://192.168.5.214:8200";
lxymallUrl = "http://192.168.20.13:8088";
// crmUrl = "http://192.168.5.46:5003"
crmUrl = "http://192.168.5.56:8032"
// crmUrl = "http://crm.oytour.com";
erpSiteUrl = "http://localhost:8080/#/";
if (locationName.indexOf('testerp.oytour') !== -1) {
domainUrl = "http://testapi.oytour.com";
......@@ -147,7 +143,7 @@ export default {
erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1;
} else if (locationName.indexOf('ys.oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
domainUrl = "https://reborn.oytour.com";
mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://crm.oytour.com";
......@@ -155,7 +151,7 @@ export default {
erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1;
} else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
domainUrl = "https://reborn.oytour.com";
mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://crm.oytour.com";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment