From 2aa0773ada8ac20f34c99b5d94640d387ac71e0c Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.7.127> Date: 星期二, 08 一月 2019 14:31:57 +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