Commit 021f239e authored by 黄奎's avatar 黄奎

1

parent b0be243c
...@@ -53,21 +53,21 @@ export default { ...@@ -53,21 +53,21 @@ export default {
}, },
//域名管理对象 //域名管理对象
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = "http://192.168.5.46:8200"; //商城接口地址 let mallApiUrl = "http://192.168.5.46:8200"; //商城接口地址
let javaUrl = 'http://192.168.5.214:8018'; //资产Api地址 let javaUrl = 'http://192.168.5.214:8018'; //资产Api地址
let vtUploadUrl = "http://192.168.5.214:8120"; //文件上传地址 let vtUploadUrl = "http://192.168.5.214:8120"; //文件上传地址
let vtViewUrl = "http://192.168.5.214:8130"; //文件预览地址 let vtViewUrl = "http://192.168.5.214:8130"; //文件预览地址
let erpWebUrl = "http://localhost:8080"; //ERP后台Web地址 let erpWebUrl = "http://localhost:8080"; //ERP后台Web地址
let locationName = window.location.hostname; let locationName = window.location.hostname;
if (locationName.indexOf('oytour') !== -1) { if (locationName.indexOf('oytour') !== -1) {
domainUrl = "https://mallapi.oytour.com"; mallApiUrl = "https://mallapi.oytour.com";
javaUrl = "http://property.oytour.com"; javaUrl = "http://property.oytour.com";
vtUploadUrl = "http://upload.oytour.com"; vtUploadUrl = "http://upload.oytour.com";
vtViewUrl = "https://imgfile.oytour.com"; vtViewUrl = "https://imgfile.oytour.com";
erpWebUrl = "http://admin.oytour.com"; erpWebUrl = "http://admin.oytour.com";
} }
var obj = { var obj = {
DomainUrl: domainUrl, //商城接口地址 DomainUrl: mallApiUrl, //商城接口地址
javaUrl: javaUrl, //资产Api地址 javaUrl: javaUrl, //资产Api地址
ImageUrl: 'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com', ImageUrl: 'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com',
UploadFileUrl: domainUrl + '/api/File/LocalFileUploadImport', UploadFileUrl: domainUrl + '/api/File/LocalFileUploadImport',
......
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