Commit 7309ebc1 authored by zhengke's avatar zhengke

修改

parent 5fbccdad
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
let locationName = window.location.hostname; let locationName = window.location.hostname;
function getApiUrl() { function getApiUrl() {
let url = { let url = {
urlPost: "http://reborn.oytour.com/api/common/post", urlPost: "https://reborn.oytour.com/api/common/post",
//urlPost: locationName.indexOf('oytour') !== -1 ? "http://reborn.oytour.com/api/common/post" : "http://192.168.2.214:8082/api/common/post", //urlPost: locationName.indexOf('oytour') !== -1 ? "http://reborn.oytour.com/api/common/post" : "http://192.168.2.214:8082/api/common/post",
//urlJava: locationName.indexOf('oytour') !== -1 ? "https://efficient.oytour.com/" : "http://192.168.2.215:9000/" //urlJava: locationName.indexOf('oytour') !== -1 ? "https://efficient.oytour.com/" : "http://192.168.2.215:9000/"
......
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