package com.gkhy.safePlatform.doublePrevention.utils;
|
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.stereotype.Component;
|
|
@Component
|
public class Properties {
|
|
|
/**
|
* @Description: 导入的文件路径
|
* @date 2021/4/19 9:20
|
*/
|
public static String filePath;
|
|
|
|
public String getFilePath() {
|
return filePath;
|
}
|
@Value("${filePath}")
|
public void setFilePath(String filePath) {
|
Properties.filePath = filePath;
|
}
|
|
}
|