Commit 0158aeb9 authored by 华国豪's avatar 华国豪 🙄

修改请求地址判断

parent 114d3f5c
......@@ -15,9 +15,9 @@ export default {
let locationName = window.location.hostname;
let domainPostUrl = "http://testapi.oytour.com"
if (this.isOnline()) {
if (window.location.host.indexOf('crmyx.oytour.com') != -1)
if (window.location.host.indexOf('fcrmyx.oytour.com') != -1)
{
domainUrl = "http://testcrm.oytour.com"
domainUrl = "http://crm.oytour.com"
domainPostUrl = "http://reborn.oytour.com"
}
else
......
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