摘要: 1.通过@Value 和@RefreshScope实现动态刷新 2.将动态刷新的值放到自定义配置文件中,通过@ConfigurationProperties(prefix="user")和@EnableConfigurationProperties({UserProperties.class})实现 阅读全文
posted @ 2021-03-30 16:27 沟渠映明月 阅读(1960) 评论(0) 推荐(0) 编辑
摘要: UInt8,UInt16,UInt32,UInt64,Int8,Int16,Int32,Int64: 固定长度的整型,包括有符号整型或无符号整型 整型范围 * Int8-[-128:127] * Int16-[-32768:32767] * Int32-[-2147483648:2147483647 阅读全文
posted @ 2021-03-30 16:24 沟渠映明月 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: shardingJDBC不同表名分片方式 引入pom依赖 <dependency> <groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-spring-boot-starter</artifactId> <ver 阅读全文
posted @ 2021-03-30 16:13 沟渠映明月 阅读(9) 评论(0) 推荐(0) 编辑