2020年5月20日
摘要: <!--开启 cache 缓存--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId> </dependency> <!-- ehca 阅读全文
posted @ 2020-05-20 16:20 FeeCy 阅读(179) 评论(0) 推荐(0) 编辑
  2019年12月30日
摘要: 接 SpringBoot 动态配置数据源-进阶-可视化动态配置数据源-1 配置文件修改后,需要使配置生效 采用springcloud 配置 jar : spring-cloud-starter-config + spring-boot-starter-actuator <dependency> <g 阅读全文
posted @ 2019-12-30 10:46 FeeCy 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: 固定配置多数据源:https://www.cnblogs.com/feecy/protected/p/11847207.html springboot-yml 配置编辑 节点配置: slave: datasource: names: N1,N2 N1: driver-class-name: com. 阅读全文
posted @ 2019-12-30 10:45 FeeCy 阅读(1041) 评论(0) 推荐(0) 编辑
  2019年12月24日
摘要: 引入JAR <dependency> <groupId>org.springframework.session</groupId> <artifactId>spring-session-data-redis</artifactId> </dependency> <dependency> <group 阅读全文
posted @ 2019-12-24 16:33 FeeCy 阅读(1010) 评论(0) 推荐(0) 编辑
  2019年11月13日
摘要: Application添加注解: @Import({DynamicDataSourceRegister.class}) application.xml配置从数据源: slave: datasource: names: name1 ,name2 name1: driver-class-name: co 阅读全文
posted @ 2019-11-13 10:31 FeeCy 阅读(1582) 评论(0) 推荐(0) 编辑
  2019年11月7日
摘要: 常量:${@com.htsc.backtest.component.Global@PAGE_SIZE} 静态方法:${@com.htsc.backtest.component.Global@doMethod(param)} 其中 doMethod是静态方法 param 调用参数 阅读全文
posted @ 2019-11-07 13:56 FeeCy 阅读(317) 评论(0) 推荐(0) 编辑
  2019年6月21日
摘要: 编辑 my.cnf [mysqld]下插入 skip-grant-tables 重启 MySQL 服务 进入MySQL 更新密码 编辑 my.cnf 注释掉 skip-grant-tables 重启MySQL服务 进入MySQL 输入密码 结束 阅读全文
posted @ 2019-06-21 14:51 FeeCy 阅读(426) 评论(0) 推荐(0) 编辑
  2019年6月1日
摘要: 转载自:https://blog.csdn.net/u012442504/article/details/87367153 使用: if (mui.os.ios) { location.href = 'https://itunes.apple.com/WebObjects/MZStore.woa/w 阅读全文
posted @ 2019-06-01 21:11 FeeCy 阅读(2365) 评论(0) 推荐(0) 编辑
  2019年1月23日
摘要: public static String removeAllBlank(String s){ String result = ""; if(null!=s && !"".equals(s)){ result = s.replaceAll("[ *| *| *|//s*]*", ""); } return result; } 阅读全文
posted @ 2019-01-23 14:14 FeeCy 阅读(280) 评论(0) 推荐(0) 编辑
  2019年1月15日
摘要: 需求:在SpringBoot实现拦截器,并且需要自定义的filter类型自动装配一些对象 自定义的过滤器类 重点是变量自动配置类 原文:https://blog.csdn.net/ycd500756/article/details/81676456 阅读全文
posted @ 2019-01-15 14:50 FeeCy 阅读(847) 评论(0) 推荐(0) 编辑