首页>代码>spring+spring mvc+hibernate开发在线答题系统>/WTS/src/wts-authority/src/main/java/com/farm/authority/AuthUtils.java
package com.farm.authority; import javax.servlet.http.HttpSession; import com.farm.authority.domain.Organization; import com.farm.authority.service.UserServiceInter; import com.farm.core.auth.domain.LoginUser; import com.farm.util.spring.BeanFactory; import com.farm.web.constant.FarmConstant; public class AuthUtils { public static Organization getCurrentOrganization(HttpSession session) { UserServiceInter users = (UserServiceInter) BeanFactory.getBean("userServiceImpl"); LoginUser user = (LoginUser) session.getAttribute(FarmConstant.SESSION_USEROBJ); return users.getOrg(user.getId()); } }

865581316LLL LV6
2024年6月22日
pokerf LV5
2024年3月10日
zmy10086 LV4
2023年3月15日
朱朱啊哈 LV16
2023年1月31日
weilaizhisheng LV21
2022年9月12日
38735466 LV11
2022年8月1日
孙龙52 LV6
2022年7月22日
1178995129 LV6
2022年6月24日
th784372 LV2
2022年5月7日
微信网友_5853711597064192 LV3
2022年3月21日

哪里的完整版 LV8
4月9日
ma406805131 LV19
2024年12月9日
annazhang LV29
2024年11月12日
y_x_happy LV4
2024年11月1日
pilipala888
2024年9月11日
暂无贡献等级
qibodong LV15
2024年8月1日
foolandfish LV1
2024年7月16日
80730176 LV7
2024年6月12日
865581316LLL LV6
2024年6月12日
爱学习的涵 LV7
2024年3月25日