Commit f0ca63cf authored by 黄奎's avatar 黄奎

页面修改

parent 316450b2
......@@ -6,14 +6,13 @@ import md5 from 'js-md5'
Vue.prototype.domainManager = function () {
let domainUrl = '';
domainUrl = "http://192.168.2.214:8082";
//domainUrl = "http://127.0.0.1";
//domainUrl = "http://reborn.oytour.com";
//let locationName = location.hostname;
// if (locationName.indexOf('testerp.oytour') !== -1) {
// domainUrl = "http://testapi.oytour.com";
// } else if (locationName.indexOf('oytour') !== -1) {
// domainUrl = "http://reborn.oytour.com";
// }
domainUrl = "http://192.168.0.110";
let locationName = location.hostname;
if (locationName.indexOf('testerp.oytour') !== -1) {
domainUrl = "http://testapi.oytour.com";
} else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
}
var obj = {
//主地址
DomainUrl: domainUrl,
......
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