From af57cd2f73a05174bc8df1247bf80cc024a0b603 Mon Sep 17 00:00:00 2001
From: LiJun <LiJun@192.168.10.30>
Date: 星期五, 16 十一月 2018 11:21:17 +0800
Subject: [PATCH] 跨域访问修改,辨别客户端的域名或iP地址

---
 gx_tieta/src/com/fgkj/actions/BattInfAction.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/BattInfAction.java b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
index c7c9cd6..105f209 100644
--- a/gx_tieta/src/com/fgkj/actions/BattInfAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
@@ -2,6 +2,8 @@
 
 import java.util.List;
 
+import javax.servlet.http.HttpServletResponse;
+
 import com.fgkj.dao.impl.BattInfImpl;
 import com.fgkj.dto.BattInf;
 import com.fgkj.dto.Batt_Maint_Dealarm;
@@ -374,7 +376,16 @@
 		result = ActionUtil.tojson(model);
 		return SUCCESS;
 	}
-
+	
+	//璺ㄥ煙璁块棶鑾峰彇鎵�鏈夌數姹犵粍鐨勪俊鎭�<-------璺ㄥ煙----------->
+	public String searchInform_ky(){
+		isAllowHeaders();							//鍏佽璺ㄥ煙璁块棶
+		ServiceModel model = new ServiceModel();
+		model = service.searchInform_ky();		
+		result = ActionUtil.tojson(model);
+		return SUCCESS;
+	}
+	
 	public BattInf getBif() {
 		return bif;
 	}

--
Gitblit v1.9.1