Commit 0ddf254b authored by 黄奎's avatar 黄奎

1

parent ecb7d498
...@@ -122,8 +122,11 @@ export default { ...@@ -122,8 +122,11 @@ export default {
let locationName = window.location.hostname; let locationName = window.location.hostname;
let isOnline = 0; //0-本地测试,1-线上 let isOnline = 0; //0-本地测试,1-线上
let ocrUrl = "http://192.168.5.46:8888"; 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://192.168.5.46";
// domainUrl = "http://reborn.oytour.com";
// domainUrl = "http://192.168.5.214";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
let javaUrldo = ""; let javaUrldo = "";
...@@ -131,8 +134,9 @@ export default { ...@@ -131,8 +134,9 @@ export default {
//商城API //商城API
mallUrl = "http://192.168.5.214:8200"; mallUrl = "http://192.168.5.214:8200";
lxymallUrl = "http://192.168.20.13:8088"; lxymallUrl = "http://192.168.20.13:8088";
// crmUrl = "http://192.168.5.46:5003"
crmUrl = "http://192.168.5.56:8032" crmUrl = "http://192.168.5.56:8032"
// crmUrl = "http://crm.oytour.com";
erpSiteUrl = "http://localhost:8080/#/"; erpSiteUrl = "http://localhost:8080/#/";
if (locationName.indexOf('testerp.oytour') !== -1) { if (locationName.indexOf('testerp.oytour') !== -1) {
domainUrl = "http://testapi.oytour.com"; domainUrl = "http://testapi.oytour.com";
...@@ -143,7 +147,7 @@ export default { ...@@ -143,7 +147,7 @@ export default {
erpSiteUrl = "http://admin.oytour.com/#/"; erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1; isOnline = 1;
} else if (locationName.indexOf('ys.oytour') !== -1) { } else if (locationName.indexOf('ys.oytour') !== -1) {
domainUrl = "https://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
mallUrl = "https://mallapi.oytour.com"; mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com"; lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://crm.oytour.com"; crmUrl = "http://crm.oytour.com";
...@@ -151,7 +155,7 @@ export default { ...@@ -151,7 +155,7 @@ export default {
erpSiteUrl = "http://admin.oytour.com/#/"; erpSiteUrl = "http://admin.oytour.com/#/";
isOnline = 1; isOnline = 1;
} else if (locationName.indexOf('oytour') !== -1) { } else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "https://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
mallUrl = "https://mallapi.oytour.com"; mallUrl = "https://mallapi.oytour.com";
lxymallUrl = "https://erpmallapi.oytour.com"; lxymallUrl = "https://erpmallapi.oytour.com";
crmUrl = "http://crm.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