摘要:
一、添加redis依赖: 二、redis配置文件: 三、新建redis配置类: 四、编写测试类Raddress,RuserInfo: 五、新建测试controller: 六、相关工具: redis: redis管理工具: 下载地址:https://pan.baidu.com/s/1qYgC51E 阅读全文
摘要:
一、在高版本的springboot中,@ConfigurationProperties(prefix = "wisely2",locations = "classpath:wisely.properties")这个注解不支持了,所以我们要另辟蹊径 二、使用组合式注解: 1、自定义config.pro 阅读全文