Configurations.java 391 B

12345678910111213141516171819
  1. package com.neo.config;
  2. import org.springframework.beans.factory.annotation.Value;
  3. import org.springframework.stereotype.Component;
  4. @Component
  5. public class Configurations {
  6. @Value("${fastdfs.base.url}")
  7. private String fdfsUrl;
  8. public String getFdfsUrl() {
  9. return fdfsUrl;
  10. }
  11. public void setFdfsUrl(String fdfsUrl) {
  12. this.fdfsUrl = fdfsUrl;
  13. }
  14. }