1、加载配置文件
<context:property-placeholder location="classpath:resource/*.properties">
2、在程序中
@Value("${FTP_ADDRESS}")
private String FTP_ADDRESS;