| 123456789101112131415161718192021222324252627282930313233343536 |
- package com.fdkankan.ucenter.config;
- import lombok.Data;
- import org.springframework.beans.factory.annotation.Value;
- import org.springframework.cloud.context.config.annotation.RefreshScope;
- import org.springframework.context.annotation.Configuration;
- @Data
- @Configuration
- @RefreshScope
- public class UcenterConfig {
- @Value("${4dkk.laserService.basePath}")
- private String basePath;
- @Value("${spring.profiles.active}")
- private String active;
- @Value("${ucenter.contactUs.callBackUrl: }")
- private String contactUsCallBackUrl;
- @Value("${ucenter.contactUs.dfPassword: }")
- private String contactUsDfPassword;
- @Value("${ucenter.contactUs.emailExTime: }")
- private Long emailExTime;
- @Value("${ucenter.register.cp-num: }")
- private String registerCpNum;
- @Value("${queue.scene.copy:ucenter-copy-scene: }")
- private String copySceneQueue;
- @Value("${task.switch: }")
- private String taskSwitch;
- }
|