ÎļþÃû´Ó Source/UBCS/ubcs-service-api/ubcs-code-api/src/main/java/com/vci/ubcs/com/vci/starter/web/util/WebUtil.java ÐÞ¸Ä |
| | |
| | | package com.vci.ubcs.com.vci.starter.web.util; |
| | | package com.vci.ubcs.starter.web.util; |
| | | |
| | | //package com.vci.web.util; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.fastjson.serializer.SerializerFeature; |
| | | import com.baomidou.mybatisplus.core.toolkit.StringUtils; |
| | | import com.vci.ubcs.com.vci.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.com.vci.starter.web.pagemodel.SessionInfo; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.web.pagemodel.SessionInfo; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | * @return å½åç¨æ·ä¿¡æ¯ |
| | | * @throws VciBaseException 没æç»å½ä¼æåºå¼å¸¸ |
| | | */ |
| | | public static SessionInfo getCurrentUserSessionInfo() throws VciBaseException{ |
| | | public static SessionInfo getCurrentUserSessionInfo() throws VciBaseException { |
| | | SessionInfo si= getCurrentUserSessionInfoNotException(); |
| | | if(si==null){ |
| | | throw new VciBaseException("noLogin",new String[]{"没æå½åç¨æ·ä¿¡æ¯"}); |