smart-core-auto/src/main/java/com/qianwen/smart/core/auto/factories/FactoriesFiles.java
@@ -11,7 +11,6 @@ import com.qianwen.smart.core.auto.common.MultiSetMap; /* loaded from: blade-core-auto-9.3.0.0-SNAPSHOT.jar:org/springblade/core/auto/factories/FactoriesFiles.class */ class FactoriesFiles { private static final Charset UTF_8 = StandardCharsets.UTF_8; smart-core-boot/src/main/java/com/qianwen/core/boot/config/BladeExecutorConfiguration.java
@@ -28,7 +28,6 @@ @EnableScheduling @Configuration @EnableAsync /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/config/BladeExecutorConfiguration.class */ public class BladeExecutorConfiguration extends AsyncConfigurerSupport { private static final Logger log = LoggerFactory.getLogger(BladeExecutorConfiguration.class); private final BladeContext bladeContext; smart-core-boot/src/main/java/com/qianwen/core/boot/config/BladeRetryConfiguration.java
@@ -9,7 +9,7 @@ import org.springframework.retry.interceptor.RetryOperationsInterceptor; @Configuration(proxyBeanMethods = false) /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/config/BladeRetryConfiguration.class */ public class BladeRetryConfiguration { private static final Logger log = LoggerFactory.getLogger(BladeRetryConfiguration.class); smart-core-boot/src/main/java/com/qianwen/core/boot/config/BladeWebMvcConfiguration.java
@@ -16,7 +16,6 @@ @EnableConfigurationProperties({BladeUploadProperties.class, BladeFileProperties.class}) @Configuration(proxyBeanMethods = false) @Order(Integer.MIN_VALUE) /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/config/BladeWebMvcConfiguration.class */ public class BladeWebMvcConfiguration implements WebMvcConfigurer { private static final Logger log = LoggerFactory.getLogger(BladeWebMvcConfiguration.class); private final BladeUploadProperties bladeUploadProperties; smart-core-boot/src/main/java/com/qianwen/core/boot/config/RequestConfiguration.java
@@ -11,7 +11,6 @@ @EnableConfigurationProperties({RequestProperties.class, XssProperties.class}) @Configuration(proxyBeanMethods = false) /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/config/RequestConfiguration.class */ public class RequestConfiguration { private final RequestProperties requestProperties; private final XssProperties xssProperties; smart-core-boot/src/main/java/com/qianwen/core/boot/error/ErrorType.java
@@ -4,7 +4,6 @@ import com.fasterxml.jackson.annotation.JsonValue; import org.springframework.lang.Nullable; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/error/ErrorType.class */ public enum ErrorType { REQUEST("request"), ASYNC("async"), smart-core-boot/src/main/java/com/qianwen/core/boot/error/ErrorUtil.java
@@ -5,7 +5,6 @@ import com.qianwen.core.tool.utils.Exceptions; import com.qianwen.core.tool.utils.ObjectUtil; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/error/ErrorUtil.class */ public class ErrorUtil { public static void initErrorInfo(Throwable error, LogError event) { event.setStackTrace(Exceptions.getStackTraceAsString(error)); smart-core-boot/src/main/java/com/qianwen/core/boot/file/BladeFileUtil.java
@@ -8,7 +8,6 @@ import com.qianwen.core.tool.utils.StringUtil; import org.springframework.web.multipart.MultipartFile; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/BladeFileUtil.class */ public class BladeFileUtil { private static final String IS_DIR = "is_dir"; private static final String FILE_NAME = "filename"; smart-core-boot/src/main/java/com/qianwen/core/boot/file/FileProxyManager.java
@@ -2,7 +2,6 @@ import java.io.File; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/FileProxyManager.class */ public class FileProxyManager { private IFileProxy defaultFileProxyFactory = new LocalFileProxyFactory(); private static final FileProxyManager ME = new FileProxyManager(); smart-core-boot/src/main/java/com/qianwen/core/boot/file/IFileProxy.java
@@ -2,7 +2,6 @@ import java.io.File; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/IFileProxy.class */ public interface IFileProxy { String[] path(File file, String dir); smart-core-boot/src/main/java/com/qianwen/core/boot/file/LocalFile.java
@@ -8,7 +8,6 @@ import com.qianwen.core.tool.utils.SpringUtil; import org.springframework.web.multipart.MultipartFile; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/LocalFile.class */ public class LocalFile { private Object fileId; @JsonIgnore smart-core-boot/src/main/java/com/qianwen/core/boot/file/LocalFileProxyFactory.java
@@ -8,7 +8,7 @@ import com.qianwen.core.tool.utils.ImageUtil; import com.qianwen.core.tool.utils.SpringUtil; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/file/LocalFileProxyFactory.class */ public class LocalFileProxyFactory implements IFileProxy { private static BladeFileProperties fileProperties; smart-core-boot/src/main/java/com/qianwen/core/boot/props/BladeUploadProperties.java
@@ -7,7 +7,6 @@ @ConfigurationProperties("blade.upload") @RefreshScope /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/props/BladeUploadProperties.class */ public class BladeUploadProperties { @Nullable private String savePath = PathUtil.getJarPath(); smart-core-boot/src/main/java/com/qianwen/core/boot/request/BladeHttpServletRequestWrapper.java
@@ -10,7 +10,6 @@ import javax.servlet.http.HttpServletRequestWrapper; import com.qianwen.core.tool.utils.WebUtil; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/BladeHttpServletRequestWrapper.class */ public class BladeHttpServletRequestWrapper extends HttpServletRequestWrapper { private final HttpServletRequest orgRequest; private byte[] body; smart-core-boot/src/main/java/com/qianwen/core/boot/request/BladeRequestFilter.java
@@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletRequest; import org.springframework.util.AntPathMatcher; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/BladeRequestFilter.class */ public class BladeRequestFilter implements Filter { private final RequestProperties requestProperties; private final XssProperties xssProperties; smart-core-boot/src/main/java/com/qianwen/core/boot/request/RequestProperties.java
@@ -5,10 +5,9 @@ import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties("blade.request") /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/RequestProperties.class */ public class RequestProperties { private Boolean enabled = true; private List<String> skipUrl = new ArrayList(); private List<String> skipUrl = new ArrayList<>(); public void setEnabled(final Boolean enabled) { this.enabled = enabled; smart-core-boot/src/main/java/com/qianwen/core/boot/request/XssHtmlFilter.java
@@ -11,82 +11,90 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/XssHtmlFilter.class */ public final class XssHtmlFilter { private static final int REGEX_FLAGS_SI = 34; private static final Pattern P_COMMENTS; private static final Pattern P_COMMENT; private static final Pattern P_TAGS; private static final Pattern P_END_TAG; private static final Pattern P_START_TAG; private static final Pattern P_QUOTED_ATTRIBUTES; private static final Pattern P_UNQUOTED_ATTRIBUTES; private static final Pattern P_PROTOCOL; private static final Pattern P_ENTITY; private static final Pattern P_ENTITY_UNICODE; private static final Pattern P_ENCODE; private static final Pattern P_VALID_ENTITIES; private static final Pattern P_VALID_QUOTES; private static final Pattern P_END_ARROW; private static final Pattern P_BODY_TO_END; private static final Pattern P_XML_CONTENT; private static final Pattern P_STRAY_LEFT_ARROW; private static final Pattern P_STRAY_RIGHT_ARROW; private static final Pattern P_AMP; private static final Pattern P_QUOTE; private static final Pattern P_LEFT_ARROW; private static final Pattern P_RIGHT_ARROW; private static final Pattern P_BOTH_ARROWS; private static final ConcurrentMap<String, Pattern> P_REMOVE_PAIR_BLANKS; private static final ConcurrentMap<String, Pattern> P_REMOVE_SELF_BLANKS; private final Map<String, List<String>> vAllowed; private final Map<String, Integer> vTagCounts; private final String[] vSelfClosingTags; private final String[] vNeedClosingTags; private final String[] vDisallowed; private final String[] vProtocolAtts; private final String[] vAllowedProtocols; private final String[] vRemoveBlanks; private final String[] vAllowedEntities; private final boolean stripComment; private final boolean encodeQuotes; private boolean vDebug; private final boolean alwaysMakeTags; static final /* synthetic */ boolean $assertionsDisabled; static { $assertionsDisabled = !XssHtmlFilter.class.desiredAssertionStatus(); P_COMMENTS = Pattern.compile("<!--(.*?)-->", 32); P_COMMENT = Pattern.compile("^!--(.*)--$", REGEX_FLAGS_SI); P_TAGS = Pattern.compile("<(.*?)>", 32); P_END_TAG = Pattern.compile("^/([a-z0-9]+)", REGEX_FLAGS_SI); P_START_TAG = Pattern.compile("^([a-z0-9]+)(.*?)(/?)$", REGEX_FLAGS_SI); P_QUOTED_ATTRIBUTES = Pattern.compile("([a-z0-9]+)=([\"'])(.*?)\\2", REGEX_FLAGS_SI); P_UNQUOTED_ATTRIBUTES = Pattern.compile("([a-z0-9]+)(=)([^\"\\s']+)", REGEX_FLAGS_SI); P_PROTOCOL = Pattern.compile("^([^:]+):", REGEX_FLAGS_SI); P_ENTITY = Pattern.compile("&#(\\d+);?"); P_ENTITY_UNICODE = Pattern.compile("&#x([0-9a-f]+);?"); P_ENCODE = Pattern.compile("%([0-9a-f]{2});?"); P_VALID_ENTITIES = Pattern.compile("&([^&;]*)(?=(;|&|$))"); P_VALID_QUOTES = Pattern.compile("(>|^)([^<]+?)(<|$)", 32); P_END_ARROW = Pattern.compile("^>"); P_BODY_TO_END = Pattern.compile("<([^>]*?)(?=<|$)"); P_XML_CONTENT = Pattern.compile("(^|>)([^<]*?)(?=>)"); P_STRAY_LEFT_ARROW = Pattern.compile("<([^>]*?)(?=<|$)"); P_STRAY_RIGHT_ARROW = Pattern.compile("(^|>)([^<]*?)(?=>)"); P_AMP = Pattern.compile("&"); P_QUOTE = Pattern.compile("<"); P_LEFT_ARROW = Pattern.compile("<"); P_RIGHT_ARROW = Pattern.compile(">"); P_BOTH_ARROWS = Pattern.compile("<>"); P_REMOVE_PAIR_BLANKS = new ConcurrentHashMap(); P_REMOVE_SELF_BLANKS = new ConcurrentHashMap(); } public final class XssHtmlFilter { private static final int REGEX_FLAGS_SI = 34; private static final Pattern P_COMMENTS = Pattern.compile("<!--(.*?)-->", 32); private static final Pattern P_COMMENT = Pattern.compile("^!--(.*)--$", 34); private static final Pattern P_TAGS = Pattern.compile("<(.*?)>", 32); private static final Pattern P_END_TAG = Pattern.compile("^/([a-z0-9]+)", 34); private static final Pattern P_START_TAG = Pattern.compile("^([a-z0-9]+)(.*?)(/?)$", 34); private static final Pattern P_QUOTED_ATTRIBUTES = Pattern.compile("([a-z0-9]+)=([\"'])(.*?)\\2", 34); private static final Pattern P_UNQUOTED_ATTRIBUTES = Pattern.compile("([a-z0-9]+)(=)([^\"\\s']+)", 34); private static final Pattern P_PROTOCOL = Pattern.compile("^([^:]+):", 34); private static final Pattern P_ENTITY = Pattern.compile("&#(\\d+);?"); private static final Pattern P_ENTITY_UNICODE = Pattern.compile("&#x([0-9a-f]+);?"); private static final Pattern P_ENCODE = Pattern.compile("%([0-9a-f]{2});?"); private static final Pattern P_VALID_ENTITIES = Pattern.compile("&([^&;]*)(?=(;|&|$))"); private static final Pattern P_VALID_QUOTES = Pattern.compile("(>|^)([^<]+?)(<|$)", 32); private static final Pattern P_END_ARROW = Pattern.compile("^>"); private static final Pattern P_BODY_TO_END = Pattern.compile("<([^>]*?)(?=<|$)"); private static final Pattern P_XML_CONTENT = Pattern.compile("(^|>)([^<]*?)(?=>)"); private static final Pattern P_STRAY_LEFT_ARROW = Pattern.compile("<([^>]*?)(?=<|$)"); private static final Pattern P_STRAY_RIGHT_ARROW = Pattern.compile("(^|>)([^<]*?)(?=>)"); private static final Pattern P_AMP = Pattern.compile("&"); private static final Pattern P_QUOTE = Pattern.compile("<"); private static final Pattern P_LEFT_ARROW = Pattern.compile("<"); private static final Pattern P_RIGHT_ARROW = Pattern.compile(">"); private static final Pattern P_BOTH_ARROWS = Pattern.compile("<>"); private static final ConcurrentMap<String, Pattern> P_REMOVE_PAIR_BLANKS = new ConcurrentHashMap<>(); private static final ConcurrentMap<String, Pattern> P_REMOVE_SELF_BLANKS = new ConcurrentHashMap<>(); private final Map<String, List<String>> vAllowed; private final Map<String, Integer> vTagCounts = new HashMap<>(); private final String[] vSelfClosingTags; private final String[] vNeedClosingTags; private final String[] vDisallowed; private final String[] vProtocolAtts; private final String[] vAllowedProtocols; private final String[] vRemoveBlanks; private final String[] vAllowedEntities; private final boolean stripComment; private final boolean encodeQuotes; private boolean vDebug = false; private final boolean alwaysMakeTags; public XssHtmlFilter() { this.vTagCounts = new HashMap(); this.vDebug = false; this.vAllowed = new HashMap(); this.vAllowed = new HashMap<>(); ArrayList<String> aAtts = new ArrayList<>(); aAtts.add("href"); aAtts.add("target"); @@ -102,13 +110,13 @@ this.vAllowed.put("strong", noAtts); this.vAllowed.put("i", noAtts); this.vAllowed.put("em", noAtts); this.vSelfClosingTags = new String[]{"img"}; this.vNeedClosingTags = new String[]{"a", "b", "strong", "i", "em"}; this.vSelfClosingTags = new String[] { "img" }; this.vNeedClosingTags = new String[] { "a", "b", "strong", "i", "em" }; this.vDisallowed = new String[0]; this.vAllowedProtocols = new String[]{"http", "mailto", "https"}; this.vProtocolAtts = new String[]{"src", "href"}; this.vRemoveBlanks = new String[]{"a", "b", "strong", "i", "em"}; this.vAllowedEntities = new String[]{"amp", "gt", "lt", "quot"}; this.vAllowedProtocols = new String[] { "http", "mailto", "https" }; this.vProtocolAtts = new String[] { "src", "href" }; this.vRemoveBlanks = new String[] { "a", "b", "strong", "i", "em" }; this.vAllowedEntities = new String[] { "amp", "gt", "lt", "quot" }; this.stripComment = true; this.encodeQuotes = true; this.alwaysMakeTags = false; @@ -120,43 +128,25 @@ } public XssHtmlFilter(final Map<String, Object> conf) { this.vTagCounts = new HashMap(); this.vDebug = false; if (!$assertionsDisabled && !conf.containsKey("vAllowed")) { throw new AssertionError("configuration requires vAllowed"); } if (!$assertionsDisabled && !conf.containsKey("vSelfClosingTags")) { throw new AssertionError("configuration requires vSelfClosingTags"); } if (!$assertionsDisabled && !conf.containsKey("vNeedClosingTags")) { throw new AssertionError("configuration requires vNeedClosingTags"); } if (!$assertionsDisabled && !conf.containsKey("vDisallowed")) { throw new AssertionError("configuration requires vDisallowed"); } if (!$assertionsDisabled && !conf.containsKey("vAllowedProtocols")) { throw new AssertionError("configuration requires vAllowedProtocols"); } if (!$assertionsDisabled && !conf.containsKey("vProtocolAtts")) { throw new AssertionError("configuration requires vProtocolAtts"); } if (!$assertionsDisabled && !conf.containsKey("vRemoveBlanks")) { throw new AssertionError("configuration requires vRemoveBlanks"); } if (!$assertionsDisabled && !conf.containsKey("vAllowedEntities")) { throw new AssertionError("configuration requires vAllowedEntities"); } this.vAllowed = Collections.unmodifiableMap((HashMap) conf.get("vAllowed")); this.vSelfClosingTags = (String[]) conf.get("vSelfClosingTags"); this.vNeedClosingTags = (String[]) conf.get("vNeedClosingTags"); this.vDisallowed = (String[]) conf.get("vDisallowed"); this.vAllowedProtocols = (String[]) conf.get("vAllowedProtocols"); this.vProtocolAtts = (String[]) conf.get("vProtocolAtts"); this.vRemoveBlanks = (String[]) conf.get("vRemoveBlanks"); this.vAllowedEntities = (String[]) conf.get("vAllowedEntities"); this.stripComment = conf.containsKey("stripComment") ? ((Boolean) conf.get("stripComment")).booleanValue() : true; this.encodeQuotes = conf.containsKey("encodeQuotes") ? ((Boolean) conf.get("encodeQuotes")).booleanValue() : true; this.alwaysMakeTags = conf.containsKey("alwaysMakeTags") ? ((Boolean) conf.get("alwaysMakeTags")).booleanValue() : true; assert conf.containsKey("vAllowed") : "configuration requires vAllowed"; assert conf.containsKey("vSelfClosingTags") : "configuration requires vSelfClosingTags"; assert conf.containsKey("vNeedClosingTags") : "configuration requires vNeedClosingTags"; assert conf.containsKey("vDisallowed") : "configuration requires vDisallowed"; assert conf.containsKey("vAllowedProtocols") : "configuration requires vAllowedProtocols"; assert conf.containsKey("vProtocolAtts") : "configuration requires vProtocolAtts"; assert conf.containsKey("vRemoveBlanks") : "configuration requires vRemoveBlanks"; assert conf.containsKey("vAllowedEntities") : "configuration requires vAllowedEntities"; this.vAllowed = Collections.unmodifiableMap((HashMap)conf.get("vAllowed")); this.vSelfClosingTags = (String[])conf.get("vSelfClosingTags"); this.vNeedClosingTags = (String[])conf.get("vNeedClosingTags"); this.vDisallowed = (String[])conf.get("vDisallowed"); this.vAllowedProtocols = (String[])conf.get("vAllowedProtocols"); this.vProtocolAtts = (String[])conf.get("vProtocolAtts"); this.vRemoveBlanks = (String[])conf.get("vRemoveBlanks"); this.vAllowedEntities = (String[])conf.get("vAllowedEntities"); this.stripComment = conf.containsKey("stripComment") ? ((Boolean)conf.get("stripComment")).booleanValue() : true; this.encodeQuotes = conf.containsKey("encodeQuotes") ? ((Boolean)conf.get("encodeQuotes")).booleanValue() : true; this.alwaysMakeTags = conf.containsKey("alwaysMakeTags") ? ((Boolean)conf.get("alwaysMakeTags")).booleanValue() : true; } private void reset() { smart-core-boot/src/main/java/com/qianwen/core/boot/request/XssHttpServletRequestWrapper.java
@@ -13,7 +13,6 @@ import com.qianwen.core.tool.utils.StringUtil; import com.qianwen.core.tool.utils.WebUtil; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/XssHttpServletRequestWrapper.class */ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper { private final HttpServletRequest orgRequest; private byte[] body; smart-core-boot/src/main/java/com/qianwen/core/boot/resolver/TokenArgumentResolver.java
@@ -10,7 +10,6 @@ import org.springframework.web.method.support.HandlerMethodArgumentResolver; import org.springframework.web.method.support.ModelAndViewContainer; /* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/resolver/TokenArgumentResolver.class */ public class TokenArgumentResolver implements HandlerMethodArgumentResolver { private static final Logger log = LoggerFactory.getLogger(TokenArgumentResolver.class); smart-core-context/src/main/java/com/qianwen/core/context/BladeCallableWrapper.java
@@ -6,7 +6,7 @@ import com.qianwen.core.tool.utils.ThreadLocalUtil; import org.springframework.lang.Nullable; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/BladeCallableWrapper.class */ public class BladeCallableWrapper<V> implements Callable<V> { private final Callable<V> delegate; private final Map<String, Object> tlMap = ThreadLocalUtil.getAll(); smart-core-context/src/main/java/com/qianwen/core/context/BladeHttpHeadersGetter.java
@@ -4,7 +4,6 @@ import org.springframework.http.HttpHeaders; import org.springframework.lang.Nullable; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/BladeHttpHeadersGetter.class */ public interface BladeHttpHeadersGetter { @Nullable HttpHeaders get(); smart-core-context/src/main/java/com/qianwen/core/context/BladeRunnableWrapper.java
@@ -5,7 +5,6 @@ import com.qianwen.core.tool.utils.ThreadLocalUtil; import org.springframework.lang.Nullable; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/BladeRunnableWrapper.class */ public class BladeRunnableWrapper implements Runnable { private final Runnable delegate; private final Map<String, Object> tlMap = ThreadLocalUtil.getAll(); smart-core-context/src/main/java/com/qianwen/core/context/BladeServletContext.java
@@ -9,7 +9,6 @@ import org.springframework.lang.Nullable; @ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/BladeServletContext.class */ public class BladeServletContext implements BladeContext { private final BladeContextProperties contextProperties; private final BladeHttpHeadersGetter httpHeadersGetter; @@ -31,7 +30,7 @@ return get(this.contextProperties.getHeaders().getAccountId()); } @Override // org.springblade.core.context.BladeContext @Override @Nullable public String getTenantId() { return get(this.contextProperties.getHeaders().getTenantId()); smart-core-context/src/main/java/com/qianwen/core/context/ServletHttpHeadersGetter.java
@@ -11,7 +11,6 @@ import org.springframework.lang.Nullable; @ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/ServletHttpHeadersGetter.class */ public class ServletHttpHeadersGetter implements BladeHttpHeadersGetter { private final BladeContextProperties properties; smart-core-context/src/main/java/com/qianwen/core/context/config/BladeContextAutoConfiguration.java
@@ -14,7 +14,6 @@ @EnableConfigurationProperties({BladeContextProperties.class}) @Configuration(proxyBeanMethods = false) @Order(Integer.MIN_VALUE) /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/config/BladeContextAutoConfiguration.class */ public class BladeContextAutoConfiguration { @ConditionalOnMissingBean @Bean smart-core-context/src/main/java/com/qianwen/core/context/config/BladeServletListenerConfiguration.java
@@ -10,7 +10,6 @@ @Configuration(proxyBeanMethods = false) @ConditionalOnWebApplication(type = ConditionalOnWebApplication.Type.SERVLET) /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/config/BladeServletListenerConfiguration.class */ public class BladeServletListenerConfiguration { @Bean public ServletListenerRegistrationBean<?> registerCustomListener(BladeContextProperties properties, BladeHttpHeadersGetter httpHeadersGetter) { smart-core-context/src/main/java/com/qianwen/core/context/listener/BladeServletRequestListener.java
@@ -10,7 +10,6 @@ import com.qianwen.core.tool.utils.ThreadLocalUtil; import org.springframework.http.HttpHeaders; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/listener/BladeServletRequestListener.class */ public class BladeServletRequestListener implements ServletRequestListener { private final BladeContextProperties contextProperties; private final BladeHttpHeadersGetter httpHeadersGetter; smart-core-context/src/main/java/com/qianwen/core/context/props/BladeContextProperties.java
@@ -6,7 +6,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(BladeContextProperties.PREFIX) /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/props/BladeContextProperties.class */ public class BladeContextProperties { public static final String PREFIX = "blade.context"; private Headers headers = new Headers(); smart-core-context/src/main/java/com/qianwen/core/context/task/TaskActionListener.java
@@ -1,6 +1,5 @@ package com.qianwen.core.context.task; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskActionListener.class */ public interface TaskActionListener { void onSuccess(TaskExecutionContext context); smart-core-context/src/main/java/com/qianwen/core/context/task/TaskConstants.java
@@ -1,6 +1,5 @@ package com.qianwen.core.context.task; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskConstants.class */ public interface TaskConstants { public static final String TASK_NOTIFY_TOPIC = "task-center-notify-topic"; public static final String ROCKET_TASK_SENDER = "rocket-task-sender"; smart-core-context/src/main/java/com/qianwen/core/context/task/TaskExecutionContext.java
@@ -6,7 +6,7 @@ import java.util.List; import java.util.Map; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskExecutionContext.class */ public class TaskExecutionContext implements Serializable { private String contextId; private String name; smart-core-context/src/main/java/com/qianwen/core/context/task/TaskExecutorProvider.java
@@ -1,6 +1,5 @@ package com.qianwen.core.context.task; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskExecutorProvider.class */ public interface TaskExecutorProvider { String getExecutor(); smart-core-context/src/main/java/com/qianwen/core/context/task/TaskExecutorTypeEnum.java
@@ -1,6 +1,5 @@ package com.qianwen.core.context.task; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskExecutorTypeEnum.class */ public enum TaskExecutorTypeEnum { USER(1, "USER"), EMPLOYEE(2, "EMPLOYEE"); smart-core-context/src/main/java/com/qianwen/core/context/task/TaskExtendInfoMapKey.java
@@ -1,6 +1,5 @@ package com.qianwen.core.context.task; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskExtendInfoMapKey.class */ public interface TaskExtendInfoMapKey { public static final String NOTIFY_DIRECT_ADDRESS = "notify_direct_address"; } smart-core-context/src/main/java/com/qianwen/core/context/task/TaskSender.java
@@ -2,7 +2,7 @@ import java.util.Map; /* loaded from: blade-core-context-9.3.0.0-SNAPSHOT.jar:org/springblade/core/context/task/TaskSender.class */ public interface TaskSender { boolean syncSend(TaskExecutionContext object); smart-core-secure/src/main/java/com/qianwen/core/secure/constant/AuthConstant.java
@@ -1,6 +1,5 @@ package com.qianwen.core.secure.constant; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/constant/AuthConstant.class */ public interface AuthConstant { public static final String ADMINISTRATOR = "administrator"; public static final String HAS_ROLE_ADMINISTRATOR = "hasRole('administrator')"; smart-core-secure/src/main/java/com/qianwen/core/secure/constant/PermissionConstant.java
@@ -2,7 +2,6 @@ import com.qianwen.core.tool.utils.StringUtil; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/constant/PermissionConstant.class */ public interface PermissionConstant { static String permissionApiStatement(int size) { return "select scope_path as path from ( select * from blade_role_menu brm where role_id IN (" + buildHolder(size) + ")) brm INNER JOIN blade_scope_api bsa ON bsa.menu_id=brm.menu_id and bsa.is_deleted=0 and http_method= ?"; smart-core-secure/src/main/java/com/qianwen/core/secure/constant/SecureConstant.java
@@ -1,6 +1,5 @@ package com.qianwen.core.secure.constant; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/constant/SecureConstant.class */ public interface SecureConstant { public static final String BASIC_HEADER_KEY = "Authorization"; public static final String BASIC_HEADER_PREFIX = "Basic "; smart-core-secure/src/main/java/com/qianwen/core/secure/interceptor/AuthInterceptor.java
@@ -19,7 +19,6 @@ import org.springframework.util.AntPathMatcher; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/interceptor/AuthInterceptor.class */ public class AuthInterceptor extends HandlerInterceptorAdapter { private static final Logger log = LoggerFactory.getLogger(AuthInterceptor.class); private static final ExpressionParser EXPRESSION_PARSER = new SpelExpressionParser(); smart-core-secure/src/main/java/com/qianwen/core/secure/interceptor/SignInterceptor.java
@@ -19,7 +19,6 @@ import org.springframework.util.AntPathMatcher; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/interceptor/SignInterceptor.class */ public class SignInterceptor extends HandlerInterceptorAdapter { private final List<SignSecure> signSecures; private static final String TIMESTAMP = "timestamp"; smart-core-secure/src/main/java/com/qianwen/core/secure/props/AuthSecure.java
@@ -2,7 +2,6 @@ import com.qianwen.core.secure.provider.HttpMethod; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/props/AuthSecure.class */ public class AuthSecure { private HttpMethod method; private String pattern; smart-core-secure/src/main/java/com/qianwen/core/secure/props/BladeSecureProperties.java
@@ -5,7 +5,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties("blade.secure") /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/props/BladeSecureProperties.class */ public class BladeSecureProperties { private Boolean enabled = false; private final List<String> skipUrl = new ArrayList<>(); smart-core-secure/src/main/java/com/qianwen/core/secure/provider/ClientDetails.java
@@ -91,22 +91,22 @@ return "ClientDetails(clientId=" + getClientId() + ", clientSecret=" + getClientSecret() + ", accessTokenValidity=" + getAccessTokenValidity() + ", refreshTokenValidity=" + getRefreshTokenValidity() + ")"; } @Override // org.springblade.core.secure.provider.IClientDetails @Override public String getClientId() { return this.clientId; } @Override // org.springblade.core.secure.provider.IClientDetails @Override public String getClientSecret() { return this.clientSecret; } @Override // org.springblade.core.secure.provider.IClientDetails @Override public Integer getAccessTokenValidity() { return this.accessTokenValidity; } @Override // org.springblade.core.secure.provider.IClientDetails @Override public Integer getRefreshTokenValidity() { return this.refreshTokenValidity; } smart-core-secure/src/main/java/com/qianwen/core/secure/provider/ClientDetailsServiceImpl.java
@@ -4,7 +4,6 @@ import org.springframework.jdbc.core.BeanPropertyRowMapper; import org.springframework.jdbc.core.JdbcTemplate; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/provider/ClientDetailsServiceImpl.class */ public class ClientDetailsServiceImpl implements IClientDetailsService { private final JdbcTemplate jdbcTemplate; smart-core-secure/src/main/java/com/qianwen/core/secure/provider/ResponseProvider.java
@@ -9,7 +9,6 @@ import com.qianwen.core.tool.api.ResultCode; import com.qianwen.core.tool.jackson.JsonUtil; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/provider/ResponseProvider.class */ public class ResponseProvider { private static final Logger log = LoggerFactory.getLogger(ResponseProvider.class); smart-core-secure/src/main/java/com/qianwen/core/secure/utils/SecureUtil.java
@@ -24,22 +24,19 @@ import com.qianwen.core.tool.utils.StringUtil; import com.qianwen.core.tool.utils.WebUtil; /* loaded from: blade-core-secure-9.3.0.0-SNAPSHOT.jar:org/springblade/core/secure/utils/SecureUtil.class */ public class SecureUtil extends AuthUtil { private static final String CLIENT_ID = "client_id"; private static IClientDetailsService clientDetailsService; private static JwtProperties jwtProperties; static final /* synthetic */ boolean $assertionsDisabled; static { $assertionsDisabled = !SecureUtil.class.desiredAssertionStatus(); } public class SecureUtil extends AuthUtil { private static final String CLIENT_ID = "client_id"; private static IClientDetailsService clientDetailsService; private static JwtProperties jwtProperties; private static IClientDetailsService getClientDetailsService() { if (clientDetailsService == null) { clientDetailsService = (IClientDetailsService) SpringUtil.getBean(IClientDetailsService.class); } return clientDetailsService; if (clientDetailsService == null) { clientDetailsService = (IClientDetailsService)SpringUtil.getBean(IClientDetailsService.class); } return clientDetailsService; } private static JwtProperties getJwtProperties() { @@ -166,11 +163,9 @@ } public static String getClientIdFromHeader() { String[] tokens = extractAndDecodeHeader(); if ($assertionsDisabled || tokens.length == 2) { return tokens[0]; } throw new AssertionError(); String[] tokens = extractAndDecodeHeader(); assert tokens.length == 2; return tokens[0]; } private static IClientDetails clientDetails(String clientId) { smart-core-tool/src/main/java/com/qianwen/core/tool/api/BizMessage.java
@@ -2,7 +2,6 @@ import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/api/BizMessage.class */ public class BizMessage { private String code; private String message; smart-core-tool/src/main/java/com/qianwen/core/tool/api/IResultCode.java
@@ -2,7 +2,6 @@ import java.io.Serializable; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/api/IResultCode.class */ public interface IResultCode extends Serializable { String getMessage(); smart-core-tool/src/main/java/com/qianwen/core/tool/api/R.java
@@ -10,7 +10,6 @@ import org.springframework.lang.Nullable; @ApiModel(description = "返回信息") /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/api/R.class */ public class R<T> implements Serializable { private static final long serialVersionUID = 1; @ApiModelProperty(value = "状态码", required = true) smart-core-tool/src/main/java/com/qianwen/core/tool/api/ResultCode.java
@@ -2,7 +2,6 @@ import com.qianwen.core.tool.constant.BladeConstant; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/api/ResultCode.class */ public enum ResultCode implements IResultCode { SUCCESS(200, BladeConstant.DEFAULT_SUCCESS_MESSAGE), FAILURE(400, "业务异常"), @@ -29,12 +28,12 @@ this.message = message; } @Override // org.springblade.core.tool.api.IResultCode @Override public int getCode() { return this.code; } @Override // org.springblade.core.tool.api.IResultCode @Override public String getMessage() { return this.message; } smart-core-tool/src/main/java/com/qianwen/core/tool/beans/BeanProperty.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.beans; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BeanProperty.class */ public class BeanProperty { private final String name; private final Class<?> type; smart-core-tool/src/main/java/com/qianwen/core/tool/beans/BladeBeanCopier.java
@@ -29,7 +29,6 @@ import org.springframework.lang.Nullable; import org.springframework.util.ClassUtils; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanCopier.class */ public abstract class BladeBeanCopier { private static final Type CONVERTER = TypeUtils.parseType("org.springframework.cglib.core.Converter"); private static final Type BEAN_COPIER = TypeUtils.parseType(BladeBeanCopier.class.getName()); smart-core-tool/src/main/java/com/qianwen/core/tool/beans/BladeBeanCopierKey.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.beans; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanCopierKey.class */ public class BladeBeanCopierKey { private final Class<?> source; private final Class<?> target; smart-core-tool/src/main/java/com/qianwen/core/tool/beans/BladeBeanMap.java
@@ -6,10 +6,9 @@ import org.springframework.cglib.core.AbstractClassGenerator; import org.springframework.cglib.core.ReflectUtils; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanMap.class */ public abstract class BladeBeanMap extends BeanMap { /* renamed from: newInstance */ public abstract BladeBeanMap m4newInstance(Object o); public abstract BladeBeanMap newInstance(Object paramObject); protected BladeBeanMap() { } @@ -24,59 +23,59 @@ return gen.create(); } /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanMap$BladeGenerator.class */ public static class BladeGenerator extends AbstractClassGenerator { private static final AbstractClassGenerator.Source SOURCE = new AbstractClassGenerator.Source(BladeBeanMap.class.getName()); private Object bean; private Class beanClass; private int require; public BladeGenerator() { super(SOURCE); super(SOURCE); } public void setBean(Object bean) { this.bean = bean; if (bean != null) { this.beanClass = bean.getClass(); } this.bean = bean; if (bean != null) this.beanClass = bean.getClass(); } public void setBeanClass(Class beanClass) { this.beanClass = beanClass; this.beanClass = beanClass; } public void setRequire(int require) { this.require = require; this.require = require; } protected ClassLoader getDefaultClassLoader() { return this.beanClass.getClassLoader(); return this.beanClass.getClassLoader(); } protected ProtectionDomain getProtectionDomain() { return ReflectUtils.getProtectionDomain(this.beanClass); return ReflectUtils.getProtectionDomain(this.beanClass); } public BladeBeanMap create() { if (this.beanClass == null) { throw new IllegalArgumentException("Class of bean unknown"); } setNamePrefix(this.beanClass.getName()); BladeBeanMapKey key = new BladeBeanMapKey(this.beanClass, this.require); return (BladeBeanMap) super.create(key); if (this.beanClass == null) throw new IllegalArgumentException("Class of bean unknown"); setNamePrefix(this.beanClass.getName()); BladeBeanMapKey key = new BladeBeanMapKey(this.beanClass, this.require); return (BladeBeanMap)create(key); } public void generateClass(ClassVisitor v) throws Exception { new BladeBeanMapEmitter(v, getClassName(), this.beanClass, this.require); new BladeBeanMapEmitter(v, getClassName(), this.beanClass, this.require); } protected Object firstInstance(Class type) { return ((BeanMap) ReflectUtils.newInstance(type)).newInstance(this.bean); return ((BeanMap)ReflectUtils.newInstance(type)).newInstance(this.bean); } protected Object nextInstance(Object instance) { return ((BeanMap) instance).newInstance(this.bean); return ((BeanMap)instance).newInstance(this.bean); } } } } smart-core-tool/src/main/java/com/qianwen/core/tool/beans/BladeBeanMapEmitter.java
@@ -119,7 +119,7 @@ e.checkcast(Type.getType(type)); e.load_arg(1); e.checkcast(Constants.TYPE_STRING); EmitUtils.string_switch(e, getNames(setters), 1, new ObjectSwitchCallback() { // from class: org.springblade.core.tool.beans.BladeBeanMapEmitter.2 EmitUtils.string_switch(e, getNames(setters), 1, new ObjectSwitchCallback() { public void processCase(Object key, Label end) { PropertyDescriptor pd = (PropertyDescriptor) setters.get(key); if (pd.getReadMethod() == null) { @@ -166,7 +166,7 @@ private void generateGetPropertyType(final Map allProps, String[] allNames) { final CodeEmitter e = begin_method(1, GET_PROPERTY_TYPE, null); e.load_arg(0); EmitUtils.string_switch(e, allNames, 1, new ObjectSwitchCallback() { // from class: org.springblade.core.tool.beans.BladeBeanMapEmitter.3 EmitUtils.string_switch(e, allNames, 1, new ObjectSwitchCallback() { public void processCase(Object key, Label end) { PropertyDescriptor pd = (PropertyDescriptor) allProps.get(key); EmitUtils.load_class(e, Type.getType(pd.getPropertyType())); smart-core-tool/src/main/java/com/qianwen/core/tool/beans/BladeBeanMapKey.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.beans; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/BladeBeanMapKey.class */ public class BladeBeanMapKey { private final Class type; private final int require; smart-core-tool/src/main/java/com/qianwen/core/tool/beans/CopyProperty.java
@@ -9,7 +9,6 @@ @Target({ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @Documented /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/beans/CopyProperty.class */ public @interface CopyProperty { String value() default ""; smart-core-tool/src/main/java/com/qianwen/core/tool/config/BladeConverterConfiguration.java
@@ -7,7 +7,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration(proxyBeanMethods = false) /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/config/BladeConverterConfiguration.class */ public class BladeConverterConfiguration implements WebMvcConfigurer { public void addFormatters(FormatterRegistry registry) { registry.addConverter(new EnumToStringConverter()); smart-core-tool/src/main/java/com/qianwen/core/tool/config/JacksonConfiguration.java
@@ -23,7 +23,6 @@ @EnableConfigurationProperties({BladeJacksonProperties.class}) @Configuration(proxyBeanMethods = false) @ConditionalOnClass({ObjectMapper.class}) /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/config/JacksonConfiguration.class */ public class JacksonConfiguration { @Bean @Primary smart-core-tool/src/main/java/com/qianwen/core/tool/config/MessageConfiguration.java
@@ -19,7 +19,6 @@ @Configuration(proxyBeanMethods = false) @Order(Integer.MIN_VALUE) /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/config/MessageConfiguration.class */ public class MessageConfiguration implements WebMvcConfigurer { private final ObjectMapper objectMapper; private final BladeJacksonProperties properties; smart-core-tool/src/main/java/com/qianwen/core/tool/config/ToolConfiguration.java
@@ -8,7 +8,6 @@ import org.springframework.context.annotation.Configuration; @Configuration(proxyBeanMethods = false) /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/config/ToolConfiguration.class */ public class ToolConfiguration { @Bean public SpringUtil springUtil() { smart-core-tool/src/main/java/com/qianwen/core/tool/constant/RoleConstant.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.constant; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/constant/RoleConstant.class */ public class RoleConstant { public static final String ADMINISTRATOR = "administrator"; public static final String HAS_ROLE_ADMINISTRATOR = "hasRole('administrator')"; smart-core-tool/src/main/java/com/qianwen/core/tool/convert/BladeConversionService.java
@@ -5,7 +5,6 @@ import org.springframework.lang.Nullable; import org.springframework.util.StringValueResolver; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/convert/BladeConversionService.class */ public class BladeConversionService extends ApplicationConversionService { @Nullable private static volatile BladeConversionService SHARED_INSTANCE; smart-core-tool/src/main/java/com/qianwen/core/tool/convert/BladeConverter.java
@@ -18,7 +18,7 @@ /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/convert/BladeConverter.class */ public class BladeConverter implements Converter { private static final Logger log = LoggerFactory.getLogger(BladeConverter.class); private static final ConcurrentMap<String, TypeDescriptor> TYPE_CACHE = new ConcurrentHashMap(); private static final ConcurrentMap<String, TypeDescriptor> TYPE_CACHE = new ConcurrentHashMap<>(); private final Class<?> sourceClazz; private final Class<?> targetClazz; smart-core-tool/src/main/java/com/qianwen/core/tool/convert/EnumToStringConverter.java
@@ -18,10 +18,9 @@ import org.springframework.core.convert.converter.GenericConverter; import org.springframework.lang.Nullable; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/convert/EnumToStringConverter.class */ public class EnumToStringConverter implements ConditionalGenericConverter { private static final Logger log = LoggerFactory.getLogger(EnumToStringConverter.class); private static final ConcurrentMap<Class<?>, AccessibleObject> ENUM_CACHE_MAP = new ConcurrentHashMap(8); private static final ConcurrentMap<Class<?>, AccessibleObject> ENUM_CACHE_MAP = new ConcurrentHashMap<>(8); @Nullable private static AccessibleObject getAnnotation(Class<?> clazz) { smart-core-tool/src/main/java/com/qianwen/core/tool/convert/StringToEnumConverter.java
@@ -19,7 +19,7 @@ import org.springframework.core.convert.converter.GenericConverter; import org.springframework.lang.Nullable; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/convert/StringToEnumConverter.class */ public class StringToEnumConverter implements ConditionalGenericConverter { private static final Logger log = LoggerFactory.getLogger(StringToEnumConverter.class); private static final ConcurrentMap<Class<?>, AccessibleObject> ENUM_CACHE_MAP = new ConcurrentHashMap<>(8); smart-core-tool/src/main/java/com/qianwen/core/tool/function/CheckedCallable.java
@@ -3,7 +3,6 @@ import org.springframework.lang.Nullable; @FunctionalInterface /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/function/CheckedCallable.class */ public interface CheckedCallable<T> { @Nullable T call() throws Throwable; smart-core-tool/src/main/java/com/qianwen/core/tool/function/CheckedFunction.java
@@ -3,7 +3,6 @@ import org.springframework.lang.Nullable; @FunctionalInterface /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/function/CheckedFunction.class */ public interface CheckedFunction<T, R> { @Nullable R apply(@Nullable T t) throws Throwable; smart-core-tool/src/main/java/com/qianwen/core/tool/function/CheckedRunnable.java
@@ -1,7 +1,6 @@ package com.qianwen.core.tool.function; @FunctionalInterface /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/function/CheckedRunnable.class */ public interface CheckedRunnable { void run() throws Throwable; } smart-core-tool/src/main/java/com/qianwen/core/tool/function/CheckedSupplier.java
@@ -3,7 +3,6 @@ import org.springframework.lang.Nullable; @FunctionalInterface /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/function/CheckedSupplier.class */ public interface CheckedSupplier<T> { @Nullable T get() throws Throwable; smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/AbstractReadWriteJackson2HttpMessageConverter.java
@@ -30,7 +30,6 @@ import org.springframework.lang.Nullable; import org.springframework.util.TypeUtils; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/AbstractReadWriteJackson2HttpMessageConverter.class */ public abstract class AbstractReadWriteJackson2HttpMessageConverter extends AbstractJackson2HttpMessageConverter { private static final Charset DEFAULT_CHARSET = Charsets.UTF_8; private final ObjectMapper writeObjectMapper; smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/BigNumberSerializer.java
@@ -7,7 +7,6 @@ import java.io.IOException; @JacksonStdImpl /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/BigNumberSerializer.class */ public class BigNumberSerializer extends NumberSerializer { private static final long JS_NUM_MAX = 9007199254740992L; private static final long JS_NUM_MIN = -9007199254740992L; smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/BladeBeanSerializerModifier.java
@@ -16,7 +16,6 @@ import java.util.List; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/BladeBeanSerializerModifier.class */ public class BladeBeanSerializerModifier extends BeanSerializerModifier { /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/BladeBeanSerializerModifier$NullJsonSerializers.class */ smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/BladeJacksonProperties.java
@@ -3,7 +3,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties("blade.jackson") /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/BladeJacksonProperties.class */ public class BladeJacksonProperties { private Boolean nullToEmpty = Boolean.TRUE; private Boolean bigNumToString = Boolean.TRUE; smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/BladeJavaTimeModule.java
@@ -15,7 +15,6 @@ import com.qianwen.core.tool.convert.DateJacksonConverter; import com.qianwen.core.tool.utils.DateTimeUtil; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/BladeJavaTimeModule.class */ public class BladeJavaTimeModule extends SimpleModule { public static final BladeJavaTimeModule INSTANCE = new BladeJavaTimeModule(); smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/BladeNumberModule.java
@@ -5,7 +5,6 @@ import java.math.BigDecimal; import java.math.BigInteger; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/BladeNumberModule.class */ public class BladeNumberModule extends SimpleModule { public static final BladeNumberModule INSTANCE = new BladeNumberModule(); smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/JsonUtil.java
@@ -32,7 +32,6 @@ import com.qianwen.core.tool.utils.StringUtil; import org.springframework.lang.Nullable; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/JsonUtil.class */ public class JsonUtil { private static final Logger log = LoggerFactory.getLogger(JsonUtil.class); @@ -107,7 +106,7 @@ if (!StringUtil.startsWithIgnoreCase(content, StringPool.LEFT_SQ_BRACKET)) { content = StringPool.LEFT_SQ_BRACKET + content + StringPool.RIGHT_SQ_BRACKET; } List<Map<String, Object>> list = (List) getInstance().readValue(content, new TypeReference<List<Map<String, Object>>>() { // from class: org.springblade.core.tool.jackson.JsonUtil.1 List<Map<String, Object>> list = (List) getInstance().readValue(content, new TypeReference<List<Map<String, Object>>>() { }); ArrayList arrayList = new ArrayList(); for (Map<String, Object> map : list) { smart-core-tool/src/main/java/com/qianwen/core/tool/jackson/MappingApiJackson2HttpMessageConverter.java
@@ -8,7 +8,6 @@ import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import com.qianwen.core.tool.jackson.BladeBeanSerializerModifier; import com.qianwen.core.tool.utils.Charsets; import org.springframework.http.HttpOutputMessage; import org.springframework.http.MediaType; @@ -17,7 +16,6 @@ import org.springframework.lang.Nullable; import org.springframework.util.StreamUtils; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/jackson/MappingApiJackson2HttpMessageConverter.class */ public class MappingApiJackson2HttpMessageConverter extends AbstractReadWriteJackson2HttpMessageConverter { @Nullable private String jsonPrefix; smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/ConfigMetadata.java
@@ -3,7 +3,6 @@ import java.io.Serializable; import java.util.List; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/ConfigMetadata.class */ public interface ConfigMetadata extends Serializable { String getName(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/ConfigMetadataConstants.java
@@ -2,7 +2,6 @@ import com.qianwen.core.tool.metadata.config.ConfigKey; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/ConfigMetadataConstants.class */ public interface ConfigMetadataConstants { public static final ConfigKey<Long> maxLength = ConfigKey.of("maxLength", "字符串最大长度", Long.TYPE); public static final ConfigKey<Boolean> isRichText = ConfigKey.of("isRichText", "是否为富文本", Boolean.TYPE); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/Converter.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.metadata; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/Converter.class */ public interface Converter<T> { T convert(Object value); } smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/DataType.java
@@ -2,7 +2,7 @@ import java.util.Map; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/DataType.class */ public interface DataType extends Metadata, FormatSupport { ValidateResult validate(Object value); @@ -10,7 +10,7 @@ return getId(); } @Override // org.springblade.core.tool.metadata.Metadata @Override default Map<String, Object> getExpands() { return null; } smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/DefaultConfigMetadata.java
@@ -4,12 +4,12 @@ import java.util.List; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/DefaultConfigMetadata.class */ public class DefaultConfigMetadata implements ConfigMetadata { private static final long serialVersionUID = 0; private String name; private String description; private List<ConfigPropertyMetadata> properties = new ArrayList(); private List<ConfigPropertyMetadata> properties = new ArrayList<>(); public void setName(final String name) { this.name = name; @@ -23,12 +23,12 @@ this.properties = properties; } @Override // org.springblade.core.tool.metadata.ConfigMetadata @Override public String getName() { return this.name; } @Override // org.springblade.core.tool.metadata.ConfigMetadata @Override public String getDescription() { return this.description; } @@ -41,7 +41,7 @@ this.description = description; } @Override // org.springblade.core.tool.metadata.ConfigMetadata @Override public List<ConfigPropertyMetadata> getProperties() { return this.properties; } smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/FormatSupport.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.metadata; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/FormatSupport.class */ public interface FormatSupport { Object format(Object value); } smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/Interval.java
@@ -3,7 +3,6 @@ import java.math.BigDecimal; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/Interval.class */ public class Interval { public static String year = StringPool.Y; public static String quarter = "q"; smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/MergeOption.java
@@ -2,7 +2,7 @@ import java.util.EnumSet; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/MergeOption.class */ public enum MergeOption { ignoreExists, mergeExpands; smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/Metadata.java
@@ -3,7 +3,7 @@ import java.util.Map; import java.util.Optional; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/Metadata.class */ public interface Metadata { String getId(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/PropertyMetadata.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.metadata; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/PropertyMetadata.class */ public interface PropertyMetadata extends Metadata { DataType getValueType(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/SimplePropertyMetadata.java
@@ -5,7 +5,6 @@ import org.apache.commons.collections4.MapUtils; import com.qianwen.core.tool.utils.BeanUtil; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/SimplePropertyMetadata.class */ public class SimplePropertyMetadata implements PropertyMetadata { private DataType valueType; private String id; @@ -21,12 +20,12 @@ this.id = id; } @Override // org.springblade.core.tool.metadata.Metadata @Override public void setName(final String name) { this.name = name; } @Override // org.springblade.core.tool.metadata.Metadata @Override public void setDescription(final String description) { this.description = description; } @@ -56,22 +55,22 @@ return this.valueType; } @Override // org.springblade.core.tool.metadata.Metadata @Override public String getId() { return this.id; } @Override // org.springblade.core.tool.metadata.Metadata @Override public String getName() { return this.name; } @Override // org.springblade.core.tool.metadata.Metadata @Override public String getDescription() { return this.description; } @Override // org.springblade.core.tool.metadata.Metadata @Override public Map<String, Object> getExpands() { return this.expands; } @@ -84,7 +83,7 @@ return metadata; } @Override // org.springblade.core.tool.metadata.PropertyMetadata @Override public PropertyMetadata merge(PropertyMetadata another, MergeOption... option) { SimplePropertyMetadata metadata = (SimplePropertyMetadata) BeanUtil.copy((Object) this, SimplePropertyMetadata.class); if (metadata.expands == null) { smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/SimpleValue.java
@@ -3,7 +3,6 @@ import com.qianwen.core.tool.utils.BeanUtil; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/SimpleValue.class */ public class SimpleValue implements Value { private Object nativeValue; @@ -15,7 +14,7 @@ return new SimpleValue(nativeValue); } @Override // org.springblade.core.tool.metadata.Value @Override public Object get() { return this.nativeValue; } smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/SimpleValues.java
@@ -11,7 +11,6 @@ import org.apache.commons.collections4.MapUtils; import com.qianwen.core.tool.utils.BeanUtil; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/SimpleValues.class */ public class SimpleValues implements Values { @NonNull private final Map<String, Object> values; @@ -27,12 +26,12 @@ return new SimpleValues(values); } @Override // org.springblade.core.tool.metadata.Values @Override public Map<String, Object> getAllValues() { return new HashMap<>(this.values); } @Override // org.springblade.core.tool.metadata.Values @Override public Optional<Value> getValue(String key) { @@ -50,7 +49,7 @@ return Values.of(merged); } @Override // org.springblade.core.tool.metadata.Values @Override public int size() { return this.values.size(); } smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/UnitSupported.java
@@ -2,7 +2,6 @@ import com.qianwen.core.tool.metadata.unit.ValueUnit; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/UnitSupported.class */ public interface UnitSupported { ValueUnit getUnit(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/ValidateResult.java
@@ -3,7 +3,6 @@ import java.util.function.Consumer; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/ValidateResult.class */ public class ValidateResult { private boolean success; private Object value; smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/Value.java
@@ -3,7 +3,7 @@ import java.util.Date; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/Value.class */ public interface Value { Object get(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/ValueObject.java
@@ -9,7 +9,6 @@ import com.qianwen.core.tool.utils.BeanUtil; import org.springframework.util.StringUtils; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/ValueObject.class */ public interface ValueObject { Map<String, Object> values(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/Values.java
@@ -7,7 +7,6 @@ import java.util.function.Supplier; import com.qianwen.core.tool.metadata.config.ConfigKey; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/Values.class */ public interface Values { Map<String, Object> getAllValues(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/config/ConfigKey.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.metadata.config; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/config/ConfigKey.class */ public interface ConfigKey<V> { String getKey(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/config/ConfigKeyValue.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.metadata.config; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/config/ConfigKeyValue.class */ public interface ConfigKeyValue<V> extends ConfigKey<V> { V getValue(); smart-core-tool/src/main/java/com/qianwen/core/tool/metadata/config/SimpleConfigKey.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.metadata.config; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/metadata/config/SimpleConfigKey.class */ public class SimpleConfigKey<V> implements ConfigKey<V> { private String key; private String name; smart-core-tool/src/main/java/com/qianwen/core/tool/node/TreeNode.java
@@ -4,7 +4,6 @@ import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/node/TreeNode.class */ public class TreeNode extends BaseNode<TreeNode> { private static final long serialVersionUID = 1; private String title; smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/DynamicScriptEngine.java
@@ -2,7 +2,6 @@ import java.util.Map; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/DynamicScriptEngine.class */ public interface DynamicScriptEngine { void init(String... contents) throws Exception; smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/DynamicScriptEngineFactory.java
@@ -9,9 +9,9 @@ import com.qianwen.core.tool.script.engine.python.PythonScriptEngine; import com.qianwen.core.tool.script.engine.ruby.RubyScriptEngine; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/DynamicScriptEngineFactory.class */ public final class DynamicScriptEngineFactory { private static final Map<String, DynamicScriptEngine> map = new HashMap(); private static final Map<String, DynamicScriptEngine> map = new HashMap<>(); static { JavaScriptEngine engine = new JavaScriptEngine(); smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/ExecuteResult.java
@@ -3,7 +3,6 @@ import java.util.function.Supplier; import javax.script.ScriptException; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/ExecuteResult.class */ public class ExecuteResult { private boolean success; private Object result; smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/ListenerSupportEngine.java
@@ -5,9 +5,9 @@ import java.util.List; import java.util.Map; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/ListenerSupportEngine.class */ public abstract class ListenerSupportEngine implements DynamicScriptEngine { protected List<ScriptListener> listener = new LinkedList(); protected List<ScriptListener> listener = new LinkedList<>(); private Map<String, Object> globalVariable; /* JADX INFO: Access modifiers changed from: protected */ @@ -24,7 +24,7 @@ }); } @Override // org.springblade.core.tool.script.engine.DynamicScriptEngine @Override public void addListener(ScriptListener scriptListener) { this.listener.add(scriptListener); } smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/ScriptContext.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.script.engine; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/ScriptContext.class */ public class ScriptContext { private String id; private String md5; smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/ScriptListener.java
@@ -1,6 +1,5 @@ package com.qianwen.core.tool.script.engine; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/script/engine/ScriptListener.class */ public interface ScriptListener { void before(ScriptContext context); smart-core-tool/src/main/java/com/qianwen/core/tool/script/engine/ognl/OgnlEngine.java
@@ -40,7 +40,7 @@ return execute(id, new HashMap()); } @Override // org.springblade.core.tool.script.engine.DynamicScriptEngine @Override public boolean compile(String id, String code) throws Exception { if (this.logger.isDebugEnabled()) { this.logger.debug("compile Ognl {} : {}", id, code); smart-core-tool/src/main/java/com/qianwen/core/tool/senstive/SensitiveSerialize.java
@@ -8,11 +8,8 @@ import com.fasterxml.jackson.databind.ser.ContextualSerializer; import java.io.IOException; import java.util.Objects; import com.qianwen.core.tool.support.ImagePosition; import com.qianwen.core.tool.utils.CharPool; import com.qianwen.core.tool.utils.DesensitizedUtils; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/senstive/SensitiveSerialize.class */ public class SensitiveSerialize extends JsonSerializer<String> implements ContextualSerializer { private SensitiveTypeEnum type; private Integer prefixNoMaskLen; @@ -29,91 +26,42 @@ this.maskStr = maskStr; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: org.springblade.core.tool.senstive.SensitiveSerialize$1 reason: invalid class name */ /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/senstive/SensitiveSerialize$1.class */ public static /* synthetic */ class AnonymousClass1 { static final /* synthetic */ int[] $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum = new int[SensitiveTypeEnum.values().length]; static { try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.CHINESE_NAME.ordinal()] = 1; } catch (NoSuchFieldError e) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.ID_CARD.ordinal()] = 2; } catch (NoSuchFieldError e2) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.FIXED_PHONE.ordinal()] = 3; } catch (NoSuchFieldError e3) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.MOBILE_PHONE.ordinal()] = 4; } catch (NoSuchFieldError e4) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.ADDRESS.ordinal()] = 5; } catch (NoSuchFieldError e5) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.EMAIL.ordinal()] = 6; } catch (NoSuchFieldError e6) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.BANK_CARD.ordinal()] = 7; } catch (NoSuchFieldError e7) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.PASSWORD.ordinal()] = 8; } catch (NoSuchFieldError e8) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.KEY.ordinal()] = 9; } catch (NoSuchFieldError e9) { } try { $SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[SensitiveTypeEnum.CUSTOMER.ordinal()] = 10; } catch (NoSuchFieldError e10) { } } } public void serialize(final String origin, final JsonGenerator jsonGenerator, final SerializerProvider serializerProvider) throws IOException { switch (AnonymousClass1.$SwitchMap$org$springblade$core$tool$senstive$SensitiveTypeEnum[this.type.ordinal()]) { case 1: jsonGenerator.writeString(DesensitizedUtils.chineseName(origin)); return; case ImagePosition.CENTER /* 2 */: jsonGenerator.writeString(DesensitizedUtils.idCardNum(origin)); return; case 3: jsonGenerator.writeString(DesensitizedUtils.fixedPhone(origin)); return; case ImagePosition.LEFT /* 4 */: jsonGenerator.writeString(DesensitizedUtils.mobilePhone(origin)); return; case 5: jsonGenerator.writeString(DesensitizedUtils.address(origin)); return; case 6: jsonGenerator.writeString(DesensitizedUtils.email(origin)); return; case 7: jsonGenerator.writeString(DesensitizedUtils.bankCard(origin)); return; case ImagePosition.BOTTOM /* 8 */: jsonGenerator.writeString(DesensitizedUtils.password(origin)); return; case CharPool.TAB /* 9 */: jsonGenerator.writeString(DesensitizedUtils.key(origin)); return; case CharPool.NEWLINE /* 10 */: jsonGenerator.writeString(DesensitizedUtils.desValue(origin, this.prefixNoMaskLen.intValue(), this.suffixNoMaskLen.intValue(), this.maskStr)); return; default: throw new IllegalArgumentException("Unknow sensitive type enum " + this.type); } switch (this.type) { case CHINESE_NAME: jsonGenerator.writeString(DesensitizedUtils.chineseName(origin)); return; case ID_CARD: jsonGenerator.writeString(DesensitizedUtils.idCardNum(origin)); return; case FIXED_PHONE: jsonGenerator.writeString(DesensitizedUtils.fixedPhone(origin)); return; case MOBILE_PHONE: jsonGenerator.writeString(DesensitizedUtils.mobilePhone(origin)); return; case ADDRESS: jsonGenerator.writeString(DesensitizedUtils.address(origin)); return; case EMAIL: jsonGenerator.writeString(DesensitizedUtils.email(origin)); return; case BANK_CARD: jsonGenerator.writeString(DesensitizedUtils.bankCard(origin)); return; case PASSWORD: jsonGenerator.writeString(DesensitizedUtils.password(origin)); return; case KEY: jsonGenerator.writeString(DesensitizedUtils.key(origin)); return; case CUSTOMER: jsonGenerator.writeString(DesensitizedUtils.desValue(origin, this.prefixNoMaskLen.intValue(), this.suffixNoMaskLen.intValue(), this.maskStr)); return; } throw new IllegalArgumentException("Unknow sensitive type enum " + this.type); } public JsonSerializer<?> createContextual(final SerializerProvider serializerProvider, final BeanProperty beanProperty) throws JsonMappingException { smart-core-tool/src/main/java/com/qianwen/core/tool/time/DateFormatter.java
@@ -11,7 +11,7 @@ import org.joda.time.DateTime; import com.qianwen.core.tool.utils.DateUtil; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/time/DateFormatter.class */ public interface DateFormatter { public static final List<DateFormatter> supportFormatter = new ArrayList(Arrays.asList(new DefaultDateFormatter(Pattern.compile("[0-9]{4}[0-9]{2}[0-9]{2}"), "yyyyMMdd"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9]{2}"), "yyyy-MM-dd"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]{2}/[0-9]{2}"), "yyyy/MM/dd"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}年[0-9]{2}月[0-9]{2}日"), "yyyy年MM月dd日"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}年[0-9]月[0-9]日"), "yyyy年M月d日"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}年[0-9]{2}月[0-9]日"), "yyyy年MM月d日"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}年[0-9]月[0-9]{2}日"), "yyyy年M月dd日"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]-[0-9]"), "yyyy-M-d"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9]"), "yyyy-MM-d"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]-[0-9]{2}"), "yyyy-M-dd"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]/[0-9]"), "yyyy/M/d"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]{2}/[0-9]"), "yyyy/MM/d"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]/[0-9]{2}"), "yyyy/M/dd"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy-MM-dd HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]-[0-9] [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy-M-d HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]-[0-9] [0-9]:[0-9]:[0-9]"), "yyyy-M-d H:m:s"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9] [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy-MM-d HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy-M-dd HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]-[0-9]{2} [0-9]:[0-9]:[0-9]"), "yyyy-M-dd H:m:s"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9] [0-9]:[0-9]:[0-9]"), "yyyy-MM-d H:m:s"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]{2}/[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy/MM/dd HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]/[0-9] [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy/M/d HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]/[0-9] [0-9]:[0-9]:[0-9]"), "yyyy/M/d H:m:s"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]{2}/[0-9] [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy/MM/d HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]/[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy/M/dd HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]/[0-9]{2} [0-9]:[0-9]:[0-9]"), "yyyy/M/dd H:m:s"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}/[0-9]{2}/[0-9] [0-9]:[0-9]:[0-9]"), "yyyy/MM/d H:m:s"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\\+[0-9]{4}"), "yyyy-MM-dd HH:mm:ssZ"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyy-MM-dd'T'HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\+[0-9]{4}"), "yyyy-MM-dd'T'HH:mm:ssZ"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}年[0-9]{2}月[0-9]{2}日[0-9]{2}时[0-9]{2}分[0-9]{2}秒"), "yyyy年MM月dd日HH时mm分ss秒"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}年[0-9]{2}月[0-9]{2}日 [0-9]{2}时[0-9]{2}分[0-9]{2}秒"), "yyyy年MM月dd日 HH时mm分ss秒"), new DefaultDateFormatter(Pattern.compile("[0-9]{2}:[0-9]{2}:[0-9]{2}"), DateUtil.PATTERN_TIME), new DefaultDateFormatter(Pattern.compile("[0-9]{4}[0-9]{2}[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}"), "yyyyMMdd HH:mm:ss"), new DefaultDateFormatter(Pattern.compile("[0-9]{4}[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}"), DateUtil.PATTERN_DATETIME_MINI), new DefaultDateFormatter(Pattern.compile("[0-9]{4}[0-9]{2}[0-9]{2} [0-9]{2}[0-9]{2}[0-9]{2}"), "yyyyMMdd HHmmss"), new SampleJDKDateFormatter(str -> { return str.contains("年") && str.contains("CST") && str.split("[ ]").length == 6; smart-core-tool/src/main/java/com/qianwen/core/tool/time/DefaultDateFormatter.java
@@ -7,7 +7,6 @@ import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/time/DefaultDateFormatter.class */ public class DefaultDateFormatter implements DateFormatter { private DateTimeFormatter formatter; private Predicate<String> predicate; smart-core-tool/src/main/java/com/qianwen/core/tool/time/SampleJDKDateFormatter.java
@@ -7,7 +7,6 @@ import java.util.function.Supplier; import org.joda.time.DateTime; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/time/SampleJDKDateFormatter.class */ public class SampleJDKDateFormatter implements DateFormatter { Predicate<String> predicate; Supplier<SimpleDateFormat> formatSupplier; smart-core-tool/src/main/java/com/qianwen/core/tool/tuple/KeyPair.java
@@ -4,7 +4,7 @@ import java.security.PublicKey; import com.qianwen.core.tool.utils.RsaUtil; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/tuple/KeyPair.class */ public class KeyPair { private final java.security.KeyPair keyPair; smart-core-tool/src/main/java/com/qianwen/core/tool/tuple/NameValue.java
@@ -3,7 +3,6 @@ import java.io.Serializable; import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/tuple/NameValue.class */ public class NameValue<T extends Serializable> implements Serializable { private static final long serialVersionUID = 1; private String name; smart-core-tool/src/main/java/com/qianwen/core/tool/tuple/Pair.java
@@ -2,7 +2,7 @@ import com.qianwen.core.tool.utils.StringPool; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/tuple/Pair.class */ public class Pair<L, R> { private static final Pair<Object, Object> EMPTY = new Pair<>(null, null); private final L left; smart-core-tool/src/main/java/com/qianwen/core/tool/utils/AesUtil.java
@@ -9,7 +9,6 @@ import org.springframework.lang.Nullable; import org.springframework.util.Assert; /* loaded from: blade-core-tool-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tool/utils/AesUtil.class */ public class AesUtil { public static final Charset DEFAULT_CHARSET = Charsets.UTF_8; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/CodeRuleCache.java
@@ -5,7 +5,6 @@ import com.qianwen.core.tool.utils.SpringUtil; import com.qianwen.smartman.modules.system.service.IBasCoderuleService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/CodeRuleCache.class */ public class CodeRuleCache { private static final String BILL_FORM_ID_EXIST = "codeRule:billFormId:exist:"; private static final IBasCoderuleService basCoderuleService = (IBasCoderuleService) SpringUtil.getBean(IBasCoderuleService.class); smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/CpsCache.java
@@ -9,7 +9,6 @@ import com.qianwen.smartman.modules.cps.entity.CommonGroup; import com.qianwen.smartman.modules.cps.service.ICommonGroupService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/CpsCache.class */ public class CpsCache { private static final String GROUP_ID = "group:id:"; private static final String GROUP_NAME = "group:name:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/DictCache.java
@@ -8,7 +8,6 @@ import com.qianwen.smartman.modules.system.entity.Dict; import com.qianwen.smartman.modules.system.service.IDictService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/DictCache.class */ public class DictCache { private static final String DICT_ID = "dict:id:"; private static final String DICT_KEY = "dict:key:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/I18nCache.java
@@ -6,7 +6,6 @@ import com.qianwen.smartman.modules.system.entity.I18nData; import com.qianwen.smartman.modules.system.service.I18nDataService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/I18nCache.class */ public class I18nCache { private static final String MESSAGE_CODE_TAG = "i18n:code:tag"; private static final I18nDataService i18nDataService = (I18nDataService) SpringUtil.getBean(I18nDataService.class); smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/MetaRefObjectTypeCache.java
@@ -5,7 +5,6 @@ import com.qianwen.smartman.modules.system.entity.MetaRefObjectType; import com.qianwen.smartman.modules.system.service.IMetaRefObjectTypeService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/MetaRefObjectTypeCache.class */ public class MetaRefObjectTypeCache { private static IMetaRefObjectTypeService metaRefObjectTypeService = (IMetaRefObjectTypeService)SpringUtil.getBean(IMetaRefObjectTypeService.class); smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/ParamBizCache.java
@@ -8,7 +8,6 @@ import com.qianwen.smartman.modules.system.entity.ParamBiz; import com.qianwen.smartman.modules.system.service.IParamBizService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/ParamBizCache.class */ public class ParamBizCache { private static final String PARAM_ID = "paramBiz:id:"; private static final String PARAM_VALUE = "paramBiz:value:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/ParamCache.java
@@ -6,7 +6,6 @@ import com.qianwen.smartman.modules.system.entity.Param; import com.qianwen.smartman.modules.system.service.IParamService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/ParamCache.class */ public class ParamCache { private static final String PARAM_ID = "param:id:"; private static final String PARAM_VALUE = "param:value:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/RegionCache.java
@@ -6,7 +6,6 @@ import com.qianwen.smartman.modules.system.entity.Region; import com.qianwen.smartman.modules.system.service.IRegionService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/RegionCache.class */ public class RegionCache { public static final int PROVINCE_LEVEL = 1; public static final int CITY_LEVEL = 2; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/SysCache.java
@@ -17,7 +17,6 @@ import com.qianwen.smartman.modules.system.service.IRoleService; import com.qianwen.smartman.modules.system.service.ITenantService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/SysCache.class */ public class SysCache { private static final String MENU_ID = "menu:id:"; private static final String DEPT_ID = "dept:id:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/UserCache.java
@@ -8,7 +8,6 @@ import com.qianwen.smartman.modules.system.entity.User; import com.qianwen.smartman.modules.system.service.IUserService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/UserCache.class */ public class UserCache { private static final String USER_CACHE_ID = "user:id:"; private static final String USER_CACHE_ACCOUNT = "user:account:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/EmployeeCache.java
@@ -14,7 +14,6 @@ import com.qianwen.smartman.modules.cps.entity.Employee; import com.qianwen.smartman.modules.cps.service.IEmployeeService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/cps/EmployeeCache.class */ public class EmployeeCache { private static final BladeRedis BLADE_REDIS = (BladeRedis) SpringUtil.getBean(BladeRedis.class); private static final IEmployeeService EMPLOYEE_SERVICE = (IEmployeeService) SpringUtil.getBean(IEmployeeService.class); smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/WorkstationCache.java
@@ -40,7 +40,6 @@ import org.springframework.data.redis.core.SetOperations; import org.springframework.util.SystemPropertyUtils; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/cps/WorkstationCache.class */ public class WorkstationCache { public static final String CRC = "crc:"; private static final String WORKSTATION = "workstation:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/cache/cps/WorkstationOfMachineCache.java
@@ -9,7 +9,6 @@ import com.qianwen.smartman.modules.cps.entity.WorkstationOfMachine; import com.qianwen.smartman.modules.cps.service.IWorkstationOfMachineService; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/cache/cps/WorkstationOfMachineCache.class */ public class WorkstationOfMachineCache { private static final String MACHINE_LIST = "machine:list:"; private static final String MACHINE_ID = "machine:id:"; smart-man-boot/src/main/java/com/qianwen/smartman/common/constant/CommonConstant.java
@@ -1,6 +1,5 @@ package com.qianwen.smartman.common.constant; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/constant/CommonConstant.class */ public interface CommonConstant { public static final String SERIAL_CONFIG_ADDRESS = "serial.config.address"; public static final String DMP_CONFIG_NAME = "system.dmp.url"; smart-man-boot/src/main/java/com/qianwen/smartman/common/enums/MenuCategoryEnum.java
@@ -3,7 +3,6 @@ import java.util.Arrays; import java.util.List; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/enums/MenuCategoryEnum.class */ public enum MenuCategoryEnum { APP(0, "app"), MENU(1, "菜单"), smart-man-boot/src/main/java/com/qianwen/smartman/common/utils/CommonUtil.java
@@ -15,7 +15,6 @@ import com.qianwen.core.tool.utils.StringUtil; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/utils/CommonUtil.class */ public class CommonUtil { public static String changeInstanceNameToPID(DefaultMQPushConsumer consumer) { String instanceName = consumer.getInstanceName(); smart-man-boot/src/main/java/com/qianwen/smartman/common/utils/XXXJobUtil.java
@@ -3,6 +3,5 @@ import org.springframework.stereotype.Component; @Component /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/common/utils/XXXJobUtil.class */ public class XXXJobUtil { } smart-man-boot/src/main/java/com/qianwen/smartman/modules/notify/manager/DefaultInternalMessageServer.java
@@ -20,7 +20,6 @@ import org.springframework.stereotype.Component; @Component /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/manager/DefaultInternalMessageServer.class */ class DefaultInternalMessageServer implements IInternalMessageServer { private static final Logger log = LoggerFactory.getLogger(DefaultInternalMessageServer.class); private final INotifySystemService notifySystemService; smart-man-boot/src/main/java/com/qianwen/smartman/modules/notify/manager/DefaultNotifierManager.java
@@ -20,13 +20,12 @@ import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; @ConditionalOnBean({NotifyResultProducer.class, NotifierProvidersMapManager.class, NotifyConfigManager.class}) /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/manager/DefaultNotifierManager.class */ public class DefaultNotifierManager implements NotifierManager { private static final Logger log = LoggerFactory.getLogger(DefaultNotifierManager.class); private NotifyResultProducer notifyResultProducer; private NotifierProvidersMapManager notifierProvidersMapManager; private NotifyConfigManager configManager; private Map<String, Notifier> notifiers = new ConcurrentHashMap(); private Map<String, Notifier> notifiers = new ConcurrentHashMap<>(); public DefaultNotifierManager(NotifyResultProducer notifyResultProducer, NotifierProvidersMapManager notifierProvidersMapManager, NotifyConfigManager configManager) { this.notifyResultProducer = notifyResultProducer; smart-man-boot/src/main/java/com/qianwen/smartman/modules/notify/manager/DefaultNotifyConfigManager.java
@@ -10,7 +10,6 @@ import org.springframework.stereotype.Service; @Service /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/manager/DefaultNotifyConfigManager.class */ public class DefaultNotifyConfigManager implements NotifyConfigManager { @Autowired private INotifyConfigService configService; smart-man-boot/src/main/java/com/qianwen/smartman/modules/notify/manager/DefaultTemplateManager.java
@@ -13,7 +13,6 @@ import org.springframework.stereotype.Component; @Component /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/manager/DefaultTemplateManager.class */ public class DefaultTemplateManager extends AbstractTemplateManager implements BeanPostProcessor { @Autowired private INotifyTemplateService templateService; smart-man-boot/src/main/java/com/qianwen/smartman/modules/notify/manager/NotifyBusinessManager.java
@@ -26,7 +26,6 @@ import com.qianwen.smartman.modules.system.service.IUserOauthService; @Component /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/manager/NotifyBusinessManager.class */ public class NotifyBusinessManager { private static final Logger log = LoggerFactory.getLogger(NotifyBusinessManager.class); private final NotifierManager notifierManager; smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/controller/MenuController.java
@@ -48,7 +48,6 @@ @RestController @ApiResource({"blade-system/menu"}) @NonDS /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/controller/MenuController.class */ public class MenuController extends BladeController { private final IMenuService menuService; private final ITopMenuService topMenuService; smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/entity/RoleScope.java
@@ -11,7 +11,6 @@ @ApiModel(value = "RoleScope", description = "RoleScope对象") @TableName("blade_role_scope") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/RoleScope.class */ public class RoleScope implements Serializable { private static final long serialVersionUID = 1; @JsonSerialize(using = ToStringSerializer.class) smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/service/IMenuService.java
@@ -8,7 +8,6 @@ import com.qianwen.smartman.modules.system.entity.Menu; import com.qianwen.smartman.modules.system.vo.MenuVO; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/service/IMenuService.class */ public interface IMenuService extends IService<Menu> { List<MenuVO> lazyList(Long parentId, Map<String, Object> param); smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/service/impl/MenuServiceImpl.java
@@ -192,7 +192,7 @@ }).collect(Collectors.toList()); } @Override // org.springblade.modules.system.service.IMenuService @Override public List<String> dataScopeTreeKeys(String roleIds) { List<RoleScope> roleScopes = this.roleScopeService.list(Wrappers.<RoleScope>query().lambda().eq(RoleScope::getScopeCategory, CommonConstant.DATA_SCOPE_CATEGORY).in(RoleScope::getRoleId, Func.toLongList(roleIds))); /* @@ -206,7 +206,7 @@ }).collect(Collectors.toList()); } @Override // org.springblade.modules.system.service.IMenuService @Override public List<String> apiScopeTreeKeys(String roleIds) { List<RoleScope> roleScopes = this.roleScopeService.list(Wrappers.<RoleScope>query().lambda().eq(RoleScope::getScopeCategory, CommonConstant.API_SCOPE_CATEGORY).in(RoleScope::getRoleId, Func.toLongList(roleIds))); /* @@ -220,7 +220,7 @@ }).collect(Collectors.toList()); } @Override // org.springblade.modules.system.service.IMenuService @Override @Cacheable(cacheNames = {"blade:menu"}, key = "'auth:routes:' + #user.roleId") public List<Kv> authRoutes(BladeUser user) { List<MenuDTO> routes = ((MenuMapper) this.baseMapper).authRoutes(Func.toLongList(user.getRoleId())); @@ -231,7 +231,7 @@ return list; } @Override // org.springblade.modules.system.service.IMenuService @Override public boolean removeMenu(String ids) { Long cnt = this.baseMapper.selectCount(Wrappers.<Menu>query().lambda().in(Menu::getParentId, Func.toLongList(ids))); /* @@ -244,7 +244,7 @@ return removeByIds(Func.toLongList(ids)); } @Override // org.springblade.modules.system.service.IMenuService @Override public boolean submit(Menu menu) { Menu parentMenu; @@ -305,7 +305,7 @@ return list; } @Override // org.springblade.modules.system.service.IMenuService @Override public List<MenuVO> grantTreeCard(BladeUser user, List<Integer> categoryList) { List<MenuVO> roleMenus = new ArrayList<>(); smart-man-boot/src/main/java/com/qianwen/smartman/modules/system/vo/CheckedTreeVO.java
@@ -2,7 +2,6 @@ import java.util.List; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/CheckedTreeVO.class */ public class CheckedTreeVO { private List<String> menu; private List<String> dataScope; smart-man-boot/src/main/resources/META-INF/build-info.properties
@@ -1,7 +1,7 @@ build.app.codename=phoenix build.artifact=BladeX-Boot build.group=org.springblade build.artifact=smartman-Boot build.group=com.qianwen build.java.version=1.8 build.name=CPS build.time=2023-01-12T03\:44\:31.775Z build.version=93.1.14 build.name=smart build.time=2024-04-12T03\:44\:31.775Z build.version=1.0.0 smart-man-boot/src/main/resources/application.yml
@@ -1,6 +1,6 @@ #服务器配置 server: port: 80 port: 4102 undertow: threads: # 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程 @@ -136,8 +136,8 @@ description: smart 接口文档系统 version: 2.8.2.RELEASE license: qianwen license-url: https://bladex.vip terms-of-service-url: https://bladex.vip license-url: https://x terms-of-service-url: https://xx contact: name: y_ys79 email: y_ys79@sina.com smart-man-boot/src/main/resources/templates/controller.java.vm
@@ -23,10 +23,10 @@ import lombok.AllArgsConstructor; import javax.validation.Valid; import org.springblade.core.mp.support.Condition; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.Func; import com.qianwen.core.mp.support.Condition; import com.qianwen.core.mp.support.Query; import com.qianwen.core.tool.api.R; import com.qianwen.core.tool.utils.Func; import org.springframework.web.bind.annotation.*; #if($!{superEntityClass}) import org.springframework.web.bind.annotation.RequestParam; smart-starter-notify/src/main/java/com/qianwen/core/notify/provider/internal/message/DefaultInternalMessageProvider.java
@@ -28,7 +28,6 @@ @ConditionalOnBean({TemplateManager.class}) @Component /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/internal/message/DefaultInternalMessageProvider.class */ public class DefaultInternalMessageProvider implements NotifierProvider, TemplateProvider { private final TemplateManager templateManager; public static final DefaultConfigMetadata templateConfig; smart-starter-notify/src/main/java/com/qianwen/core/notify/template/AbstractTemplateManager.java
@@ -8,22 +8,21 @@ import com.qianwen.core.notify.NotifyType; import com.qianwen.core.tool.utils.Func; /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/template/AbstractTemplateManager.class */ public abstract class AbstractTemplateManager implements TemplateManager { protected Map<String, Map<String, TemplateProvider>> providers = new ConcurrentHashMap(); private Map<String, Template> templates = new ConcurrentHashMap(); protected Map<String, Map<String, TemplateProvider>> providers = new ConcurrentHashMap<>(); private Map<String, Template> templates = new ConcurrentHashMap<>(); protected abstract TemplateProperties getProperties(NotifyType type, String id); protected void register(TemplateProvider provider) { this.providers.computeIfAbsent(provider.getType().getId(), ignore -> { return new ConcurrentHashMap(); return new ConcurrentHashMap<>(); }).put(provider.getProvider().getId(), provider); } @Override // com.qianwen.core.notify.template.TemplateManager @Override public Template createTemplate(NotifyType type, TemplateProperties properties) { Map<String, TemplateProvider> providerMap = (Map) Optional.ofNullable(this.providers.get(type.getId())).orElseThrow(() -> { Map<String, TemplateProvider> providerMap = Optional.ofNullable(this.providers.get(type.getId())).orElseThrow(() -> { return new UnsupportedOperationException("不支持的通知类型:" + properties.getType()); }); TemplateProvider templateProvider = (TemplateProvider) Optional.ofNullable(providerMap.get(properties.getProvider())).orElseThrow(() -> { @@ -40,7 +39,7 @@ return notifierTemplate; } @Override // com.qianwen.core.notify.template.TemplateManager @Override public Template getTemplate(NotifyType type, String id) { Template template; TemplateProperties templateProperties = getReallyTemplateProperties(type, id); @@ -55,7 +54,7 @@ return this.templates.get(id); } @Override // com.qianwen.core.notify.template.TemplateManager @Override public void reload(String templateId) { this.templates.remove(templateId); } smart-starter-notify/src/main/java/com/qianwen/core/notify/template/TemplateManager.java
@@ -2,7 +2,6 @@ import com.qianwen.core.notify.NotifyType; /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/template/TemplateManager.class */ public interface TemplateManager { Template getTemplate(NotifyType type, String id); smart-starter-notify/src/main/java/com/qianwen/core/notify/template/TemplateProvider.java
@@ -4,7 +4,6 @@ import com.qianwen.core.notify.Provider; import com.qianwen.core.tool.metadata.ConfigMetadata; /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/template/TemplateProvider.class */ public interface TemplateProvider { NotifyType getType(); smart-starter-swagger/src/main/java/com/qianwen/core/swagger/SwaggerAutoConfiguration.java
@@ -10,7 +10,6 @@ import java.util.List; import com.qianwen.core.launch.props.BladeProperties; import com.qianwen.core.secure.BladeUser; import com.qianwen.core.swagger.SwaggerProperties; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -34,7 +33,6 @@ @EnableSwagger @Configuration(proxyBeanMethods = false) @Import({BeanValidatorPluginsConfiguration.class}) /* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerAutoConfiguration.class */ public class SwaggerAutoConfiguration { private static final String DEFAULT_BASE_PATH = "/**"; private static final List<String> DEFAULT_EXCLUDE_PATH = Arrays.asList("/error", "/actuator/**"); smart-starter-swagger/src/main/java/com/qianwen/core/swagger/SwaggerLauncherServiceImpl.java
@@ -4,7 +4,6 @@ import com.qianwen.core.launch.service.LauncherService; import org.springframework.boot.builder.SpringApplicationBuilder; /* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerLauncherServiceImpl.class */ public class SwaggerLauncherServiceImpl implements LauncherService { public void launcher(SpringApplicationBuilder builder, String appName, String profile, boolean isLocalDev) { Properties props = System.getProperties(); smart-starter-swagger/src/main/java/com/qianwen/core/swagger/SwaggerProperties.java
@@ -11,7 +11,7 @@ private List<String> basePackages = new ArrayList<>(Collections.singletonList("com.qianwen")); private List<String> basePath = new ArrayList<>(); private List<String> excludePath = new ArrayList<>(); private String title = "BladeX 接口文档系统"; private String title = "智能制造接口文档系统"; private String description = "smart API 接口文档"; private String version = "1.0.0"; private String license = "Powered By Qianwen"; @@ -267,11 +267,11 @@ return this.authorization; } /* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerProperties$Contact.class */ public static class Contact { private String name = "chillzhuang"; private String name = "abc"; private String url = "https://gitee.com/smallc"; private String email = "smallchill@163.com"; private String email = "abc@sina.com.com"; public void setName(final String name) { this.name = name; @@ -353,9 +353,9 @@ public static class Authorization { private String name = ""; private String authRegex = "^.*$"; private List<AuthorizationScope> authorizationScopeList = new ArrayList(); private List<AuthorizationApiKey> authorizationApiKeyList = new ArrayList(); private List<String> tokenUrlList = new ArrayList(); private List<AuthorizationScope> authorizationScopeList = new ArrayList<>(); private List<AuthorizationApiKey> authorizationApiKeyList = new ArrayList<>(); private List<String> tokenUrlList = new ArrayList<>(); public void setName(final String name) { this.name = name; smart-starter-swagger/src/main/java/com/qianwen/core/swagger/SwaggerUtil.java
@@ -18,9 +18,7 @@ private static Function<Class<?>, Boolean> handlerPackage(final List<String> basePackages) { return input -> { Iterator it = basePackages.iterator(); while (it.hasNext()) { String strPackage = (String) it.next(); for (String strPackage : basePackages) { boolean isMatch = input.getPackage().getName().startsWith(strPackage); if (isMatch) { return true; smart-starter-swagger/src/main/java/com/qianwen/core/swagger/SwaggerWebConfiguration.java
@@ -9,7 +9,6 @@ @EnableConfigurationProperties({SwaggerProperties.class}) @Configuration(proxyBeanMethods = false) @BladePropertySource("classpath:/blade-swagger.yml") /* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerWebConfiguration.class */ public class SwaggerWebConfiguration implements WebMvcConfigurer { public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler(new String[]{"doc.html"}).addResourceLocations(new String[]{"classpath:/META-INF/resources/"});