| | |
| | | } |
| | | |
| | | } |
| | | /*try { |
| | | /* try { |
| | | CustomHttpServletRequestWrapper requestWrapper = (CustomHttpServletRequestWrapper)request; |
| | | String body = requestWrapper.getBody(); |
| | | JSONObject object = JSONObject.parseObject(body); |
| | |
| | | requestWrapper.setBody( JSONObject.toJSONString(object)); |
| | | } |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | }*/ |
| | | } else { |
| | | throw new BusinessException(ResponseStatus.NO_LOGIN.getCode(),"未登录"); |
| | | throw new BusinessException(ResponseStatus.NO_LOGIN.getCode(),request.getRequestURI()+"未登录"); |
| | | } |
| | | } |
| | | }else{ |
| | | throw new BusinessException(ResponseStatus.NO_LOGIN.getCode(),"未登录"); |
| | | throw new BusinessException(ResponseStatus.NO_LOGIN.getCode(),request.getRequestURI()+"未登录"); |
| | | } |
| | | |
| | | return true; |