sdf
This commit is contained in:
@@ -68,7 +68,7 @@ public class AuthHandler implements HandlerInterceptor, InitializingBean {
|
||||
Collectors.mapping(CryptoServiceApi::getCryptoServiceId, Collectors.toList())));
|
||||
});
|
||||
if (codeServiceMap == null || !codeServiceMap.containsKey(code)) {
|
||||
log.warn("app: {}-{}, 无权访问: {}", user.getAppId(), user.getName(), request.getRequestURI());
|
||||
log.warn("app: {}-{}, 无权访问: {} - {}", user.getAppId(), user.getName(), code, request.getRequestURI());
|
||||
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
|
||||
response.getOutputStream().write(JsonUtils.toJsonBytes(R.error("无权访问")));
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user