Commit 9b03fbb7 by 陶光胜

加日志

parent 262a4a73
......@@ -33,6 +33,7 @@ public class ApplicationController extends WebBaseController{
}
@RequestMapping("get-auth-url")
@IgnoreLogin
public HaobanResponse getAuthUrl(){
//String suiteId = GlobalVar.ctxPropertiesMap.get("suiteId");
String suiteId = "ww7d6566614055cf27";
......
......@@ -21,7 +21,7 @@ import java.util.regex.Pattern;
*
* @author hua
*/
//@ControllerAdvice
@ControllerAdvice
public class GlobalExceptionHandler extends WebBaseController {
private static Logger logger = LoggerFactory.getLogger(GlobalExceptionHandler.class);
......
......@@ -65,11 +65,11 @@ public class WebInterceptor extends HandlerInterceptorAdapter {
}
LoginVO loginUser = (LoginVO) AuthRequestUtil.getSessionUser();
/**if (loginUser == null) {
if (loginUser == null) {
this.errorResult(httpServletResponse, HaoBanErrCode.ERR_4);
logger.info("用户不存在!");
return true;
}**/
return false;
}
HandlerMethod method = null;
if (o instanceof HandlerMethod) {
method = (HandlerMethod) (o);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment