摘要: 在开发中有时需要在aop中获取request对象 RequestAttributes requestAttributes = RequestContextHolder.getRequestAttributes(); HttpServletRequest request = (HttpServletR 阅读全文
posted @ 2020-09-25 17:59 炫舞风中 阅读(1542) 评论(0) 推荐(0) 编辑
摘要: 参考地址: https://mp.weixin.qq.com/s?__biz=MzUxOTc4NjEyMw==&mid=2247491462&idx=2&sn=fdd8bde9777464e147d0d0efc37bc415&chksm=f9f50462ce828d74dbd64d8f8f98447 阅读全文
posted @ 2020-09-25 17:34 炫舞风中 阅读(269) 评论(0) 推荐(0) 编辑
摘要: public class GeneratorTable { //文件生成路径 private static final String OUT_PUT_DIR = "E:\\Generator"; private static final String JDBC_URL = "jdbc:postgre 阅读全文
posted @ 2020-09-25 17:22 炫舞风中 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 一、maven依赖 1、网关依赖(此处注册中心采用nacos) <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId 阅读全文
posted @ 2020-09-25 17:17 炫舞风中 阅读(4987) 评论(0) 推荐(0) 编辑
摘要: 一、maven依赖 <dependency> <groupId>ch.ethz.ganymed</groupId> <artifactId>ganymed-ssh2</artifactId> </dependency> <dependency> <groupId>commons-io</groupI 阅读全文
posted @ 2020-09-25 16:43 炫舞风中 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 一、maven依赖引入 <dependency> <groupId>org.geotools</groupId> <artifactId>gt-api</artifactId> <exclusions> <exclusion> <groupId>commons-pool</groupId> <art 阅读全文
posted @ 2020-09-25 15:59 炫舞风中 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 一、参考地址 1、https://www.cnblogs.com/wuwei928/p/10338307.html 2、https://blog.csdn.net/shaoyu_zhu_88/article/details/78978925 二、maven配置文件(settings文件配置) 添加私 阅读全文
posted @ 2020-09-25 10:55 炫舞风中 阅读(865) 评论(0) 推荐(0) 编辑