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