Commit 925d1a5c authored by 华国豪's avatar 华国豪 🙄

‘111’

parent db2300e4
......@@ -239,11 +239,12 @@
let fileName = file.file.name;
let that = this;
let path = "/Upload/DMC/";
this.uploadFile(path, newArr, x => {
this.UploadSelfFile(path, newArr, x => {
console.log(x);
var str = x.res.requestUrls[0].split('?');
this.VideoStr = str[0];
this.PostConfig.VideoStr = x.name;
console.log(str[0]);
// that.PostConfig.fileList[this.updateChoseIndex].Name = fileName;
});
},
......
......@@ -115,17 +115,11 @@ export default {
Vue.prototype.domainManager = function () {
let domainUrl = '';
let locationName = window.location.hostname;
domainUrl = "http://127.0.0.1"; //214主域名
// 127.0.0.12
// domainUrl = "http://192.168.2.88"; //王悦主域名
// domainUrl = "http://127.0.0.1"; //214主域名
// domainUrl = "http://192.168.2.16:8083"; //王悦主域名
// domainUrl = "http://127.0.0.1"; //214主域名
// domainUrl = "http://192.168.2.65:8025"; //吴春主域名
// domainUrl = "http://192.168.2.106:8082"; //罗超主域名
domainUrl = "http://192.168.2.214:8082"; //214主域名
if (locationName.indexOf('oytour')!==-1) {
domainUrl = "https://reborn.oytour.com";
}else if (locationName.indexOf('viitto')!==-1) {
domainUrl = "http://reborn.oytour.com";
}
else if (locationName.indexOf('viitto')!==-1) {
domainUrl = "https://test.viitto.com";
}
var obj = {
......
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