From 94c3b603ae4fd3f26e23a33e3eabc781d9c08846 Mon Sep 17 00:00:00 2001 From: 81041 <81041@DESKTOP-025NVD9> Date: 星期三, 26 十二月 2018 11:33:37 +0800 Subject: [PATCH] Merge branch 'dev_lxw' of https://whyclxw1@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw --- 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