zhengkaixin 3 سال پیش
والد
کامیت
e7688738bb
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  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