java---yml文件配置

首先先配置需要配置的内容和ip

 需要在引用的类中导入包

 然后使用

 

原文地址:https://www.cnblogs.com/wendy-0901/p/14167106.html