async-excel
async-excel copied to clipboard
yml文件的配置怎么写
现在只有application.prop的写法
spring:
excel:
datasource:
driver-class-name:
url:
password:
你是说的这个方式么?
在这个ExcelDataSourceProperties已经支持上述yml格式配置, 借助springboot的@ConfigurationProperties已经实现对 yml,yaml,properties格式的配置支持了。
@ConfigurationProperties("spring.excel.datasource")
public class ExcelDataSourceProperties