From e28496f652b3914e70d8a5075e4ad0ee04e2f2a5 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.7.127> Date: 星期一, 14 一月 2019 18:04:13 +0800 Subject: [PATCH] 机房信息面板中添加机房地图信息 --- gx_tieta/src/com/fgkj/actions/User_infAction.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/User_infAction.java b/gx_tieta/src/com/fgkj/actions/User_infAction.java index cb1ab3b..748dcfc 100644 --- a/gx_tieta/src/com/fgkj/actions/User_infAction.java +++ b/gx_tieta/src/com/fgkj/actions/User_infAction.java @@ -225,6 +225,18 @@ return SUCCESS; } + public String checkSession() { + model = new ServiceModel(); + Object obj = ActionUtil.getUser(); + if(obj != null) { + model.setCode(1); + }else { + model.setCode(0); + } + result = ActionUtil.tojson(model); + return SUCCESS; + } + public String test(){ System.out.println(upjson); System.out.println(uif); -- Gitblit v1.9.1