Commit 4fe5a178 authored by 黄奎's avatar 黄奎

js修改

parent be866705
...@@ -55,12 +55,12 @@ export default { ...@@ -55,12 +55,12 @@ export default {
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
domainUrl = "http://192.168.2.214:8200"; domainUrl = "http://192.168.2.214:8200";
domainUrl = "https://localhost:5001"; //domainUrl = "https://localhost:5001";
let locationName = window.location.hostname; let locationName = window.location.hostname;
if (locationName.indexOf('testmall.oytour') !== -1) { if (locationName.indexOf('testmall.oytour') !== -1) {
domainUrl = "http://mallapi.oytour.com"; domainUrl = "https://mallapi.oytour.com";
} else if (locationName.indexOf('oytour') !== -1) { } else if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://mallapi.oytour.com"; domainUrl = "https://mallapi.oytour.com";
} }
var obj = { var obj = {
//主地址npm //主地址npm
......
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