packagecn.wisenergy.web.config;importorg.springframework.boot.context.properties.ConfigurationProperties;@ConfigurationProperties(prefix="file")/** * Created by m1991 on 2021/2/26 23:47 * TODO 文件配置 */publicclassFileProperty{privateStringfilePath;publicStringgetFilePath(){returnfilePath;}publicvoidsetFilePath(StringfilePath){this.filePath=filePath;}}