方法一
1 | #配置文件 |
1 | public static Properties signProperties = new Properties(); |
方法二
1 | "${providers.lj.id}") ( |
方法三
1 | ## 配置文件 |
1 |
|
1 | // 引入 使用它的get方法即可获取对应的属性 |
1 | // 添加EnableConfigurationProperties注释即可 |
一片净土
1 | #配置文件 |
1 | public static Properties signProperties = new Properties(); |
1 | @Value("${providers.lj.id}") |
1 | ## 配置文件 |
1 | @Data |
1 | // 引入 使用它的get方法即可获取对应的属性 |
1 | // 添加EnableConfigurationProperties注释即可 |
微信支付
支付宝