zhengkaixin %!s(int64=3) %!d(string=hai) anos
pai
achega
e7688738bb
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 4 0
      js/script.js
  2. 1 0
      readme.md

+ 4 - 0
js/script.js

@@ -9,6 +9,10 @@ var Constant = {
 	if(window.location.href.indexOf("http://127.0.0.1:8848/")>=0){
 		Constant.serverUrl="http://127.0.0.1:8086/website-server/"
 	}
+	if(window.location.href.indexOf("http://192.168.8.61:8848/")>=0){
+		Constant.serverUrl="http://192.168.8.61:8086/website-server/"
+	}
+	
 	getQueryVariable()
 	function getQueryVariable()
 	{

+ 1 - 0
readme.md

@@ -0,0 +1 @@
+js/script.js中配置环境url