UcenterConfig.java 952 B

123456789101112131415161718192021222324252627282930313233343536
  1. package com.fdkankan.ucenter.config;
  2. import lombok.Data;
  3. import org.springframework.beans.factory.annotation.Value;
  4. import org.springframework.cloud.context.config.annotation.RefreshScope;
  5. import org.springframework.context.annotation.Configuration;
  6. @Data
  7. @Configuration
  8. @RefreshScope
  9. public class UcenterConfig {
  10. @Value("${4dkk.laserService.basePath}")
  11. private String basePath;
  12. @Value("${spring.profiles.active}")
  13. private String active;
  14. @Value("${ucenter.contactUs.callBackUrl: }")
  15. private String contactUsCallBackUrl;
  16. @Value("${ucenter.contactUs.dfPassword: }")
  17. private String contactUsDfPassword;
  18. @Value("${ucenter.contactUs.emailExTime: }")
  19. private Long emailExTime;
  20. @Value("${ucenter.register.cp-num: }")
  21. private String registerCpNum;
  22. @Value("${queue.scene.copy:ucenter-copy-scene: }")
  23. private String copySceneQueue;
  24. @Value("${task.switch: }")
  25. private String taskSwitch;
  26. }