From 47b5fd89f9a1996cadb2619917c9fcb02d2fa8f9 Mon Sep 17 00:00:00 2001 From: whyclj <1525436766@qq.com> Date: 星期一, 24 十二月 2018 10:34:14 +0800 Subject: [PATCH] web端实时页面中添加SD卡状态的查询方法 --- gx_tieta/src/com/fgkj/actions/BatttestdataAction.java | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java index e50ffd1..ac4e031 100644 --- a/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java +++ b/gx_tieta/src/com/fgkj/actions/BatttestdataAction.java @@ -39,18 +39,11 @@ * @return */ public String findhistory_ky(){ - isAllowHeaders(); + //isAllowHeaders(); ServiceModel model = new ServiceModel(); - if(key !=null && CROSS_DOMAIN_KEY.equals(key)){ - Batttestdata btd = ActionUtil.getGson().fromJson(json, Batttestdata.class); - //System.out.println(btd); - model = service.serchByCondition_ky(btd); - }else{ - model.setCode(0); - model.setMsg("璇嗗埆鐮侀敊璇�"); - } + btd = ActionUtil.getGson().fromJson(json, Batttestdata.class); + model = service.serchByCondition_ky(btd); result = ActionUtil.tojson(model); - //System.out.println("*************************"); return SUCCESS; } -- Gitblit v1.9.1