logger打印信息修改

This commit is contained in:
李广豪 2022-07-19 14:12:10 +08:00
parent f2de6a3a04
commit 592fdf285d

View File

@ -40,7 +40,7 @@ public class PlatformUpmsServiceFallback implements PlatformUpmsService {
@Override @Override
public List<Permission> getPermissions() { public List<Permission> getPermissions() {
if (isDebug()) { if (isDebug()) {
log.warn("平台通用权限管理服务不可用,使用缓存权限数据"); //log.warn("平台通用权限管理服务不可用,使用缓存权限数据");
List<Permission> permissions = new ArrayList<>(); List<Permission> permissions = new ArrayList<>();
permissions.add(Permission.builder().url("/**").method(HttpMethod.GET.name()).build()); permissions.add(Permission.builder().url("/**").method(HttpMethod.GET.name()).build());
permissions.add(Permission.builder().url("/**").method(HttpMethod.POST.name()).build()); permissions.add(Permission.builder().url("/**").method(HttpMethod.POST.name()).build());