摘要: 数据字典核心代码实现: @Component public class DictMap { @Autowired private SysDictDataMapper dictDataMapper; private static HashMap<String, String> hashMap = ne 阅读全文
posted @ 2020-11-30 21:12 挑战者V 阅读(4767) 评论(0) 推荐(0) 编辑
摘要: 主要应用场景:访问nginx不同目录下的静态资源。核心配置代码: location /img/ { alias /home/software/nginx/html/img/; autoindex on; } 阅读全文
posted @ 2020-11-30 21:10 挑战者V 阅读(1852) 评论(0) 推荐(0) 编辑
摘要: 当初为了解决nacos配置文件实时刷新问题,搜索了很多资料,仍无效,最后不经意间的尝试却解决了这个问题。 我的SpringCloud版本为:Hoxton.SR4; 我的SpringCloud Alibaba版本为:2.2.1.RELEASE; 我的Nacos版本为:1.3.1。 一、核心配置文件(一 阅读全文
posted @ 2020-11-30 21:08 挑战者V 阅读(12222) 评论(0) 推荐(1) 编辑