if (method == null || HttpMethod.GET.matches(method) || HttpMethod.DELETE.matches(method)) { | if (method == null || HttpMethod.GET.matches(method) || HttpMethod.DELETE.matches(method)) { | ||||
return true; | return true; | ||||
} | } | ||||
if ("/system/workInfo".equals(url)&&(HttpMethod.PUT.matches(method) || HttpMethod.POST.matches(method))) { | |||||
return true; | |||||
} | |||||
return StringUtils.matches(url, excludes); | return StringUtils.matches(url, excludes); | ||||
} | } | ||||