From b040ac179af00dfe38204ebb708aed8c87f285ad Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.1.132> Date: 星期三, 26 十二月 2018 17:27:21 +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