This commit is contained in:
zlt2000
2020-04-18 23:56:22 +08:00
parent fbd1c7f4b6
commit 8f25204ede
54 changed files with 69 additions and 54 deletions
@@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
* @author zlt
* @date 2019/10/7
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@EnableConfigurationProperties(SecurityProperties.class)
@@ -23,7 +23,7 @@ public class BannerInitializer implements ApplicationContextInitializer<Configur
LogoBanner logoBanner = new LogoBanner(BannerInitializer.class, "/zltmp/logo.txt", "Welcome to zlt", 5, 6, new Color[5], true);
CustomBanner.show(logoBanner, new Description(BannerConstant.VERSION + ":", CommonConstant.PROJECT_VERSION, 0, 1)
, new Description("Gitee:", "https://gitee.com/zlt2000/microservices-platform", 0, 1)
, new Description("Blog:", "https://blog.csdn.net/zlt2000", 0, 1)
, new Description("Blog:", "https://zlt2000.gitee.io", 0, 1)
);
}
}
@@ -16,7 +16,7 @@ import java.util.List;
* @author zlt
* @date 2019/8/5
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
public class DefaultWebMvcConfig implements WebMvcConfigurer {
@@ -12,7 +12,7 @@ import java.util.Date;
* @author zlt
* @date 2018/12/11
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
public class DateMetaObjectHandler implements MetaObjectHandler {
@@ -20,7 +20,7 @@ import org.springframework.context.annotation.Bean;
* @author zlt
* @date 2020/4/5
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@EnableConfigurationProperties(MybatisPlusAutoFillProperties.class)
@@ -11,7 +11,7 @@ import org.springframework.cloud.context.config.annotation.RefreshScope;
* @author zlt
* @date 2020/4/5
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Setter
@@ -21,7 +21,7 @@ import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate;
* @author zlt
* @date 2020/3/28
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@EnableConfigurationProperties(RestClientPoolProperties.class)
@@ -11,7 +11,7 @@ import org.springframework.cloud.context.config.annotation.RefreshScope;
* @author zlt
* @date 2020/3/28
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Setter
@@ -37,7 +37,7 @@ import java.util.Map;
* @author zlt
* @date 2020/3/28
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Setter
@@ -6,7 +6,7 @@ import java.lang.annotation.*;
* @author zlt
* @date 2020/2/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@@ -28,7 +28,7 @@ import java.time.LocalDateTime;
* @author zlt
* @date 2020/2/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Slf4j
@@ -11,7 +11,7 @@ import java.time.LocalDateTime;
* @author zlt
* @date 2020/2/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Setter
@@ -11,7 +11,7 @@ import org.springframework.cloud.context.config.annotation.RefreshScope;
* @author zlt
* @date 2020/2/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Setter
@@ -12,7 +12,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
* @author zlt
* @date 2020/2/8
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Setter
@@ -8,7 +8,7 @@ import com.central.log.model.Audit;
* @author zlt
* @date 2020/2/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
public interface IAuditService {
@@ -22,7 +22,7 @@ import javax.sql.DataSource;
* @author zlt
* @date 2020/2/8
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Slf4j
@@ -13,7 +13,7 @@ import java.time.format.DateTimeFormatter;
* @author zlt
* @date 2020/2/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Slf4j
@@ -17,7 +17,7 @@ import org.springframework.context.annotation.Bean;
* @author zlt
* @date 2019/9/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@ConditionalOnProperty(value = ConfigConstants.CONFIG_RIBBON_ISOLATION_ENABLED, havingValue = "true")
@@ -14,7 +14,7 @@ import java.lang.annotation.Target;
* @author zlt
* @date 2019/10/26
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
@Target(ElementType.TYPE)
@@ -19,7 +19,7 @@ import java.util.List;
* @author zlt
* @date 2019/10/26
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
public class FeignHttpInterceptorConfig {
@@ -23,7 +23,7 @@ import java.util.stream.Collectors;
* @author zlt
* @date 2019/9/3
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
public class VersionIsolationRule extends RoundRobinRule {
@@ -21,7 +21,7 @@ import javax.servlet.http.HttpServletRequest;
* @author zlt
* @date 2019/1/22
* <p>
* Blog: https://blog.csdn.net/zlt2000
* Blog: https://zlt2000.gitee.io
* Github: https://github.com/zlt2000
*/
public class SentinelAutoConfigure {