|
|
@@ -2,10 +2,12 @@ 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}")
|
|
|
@@ -20,6 +22,4 @@ public class UcenterConfig {
|
|
|
@Value("${ucenter.contactUs.dfPassword}")
|
|
|
private String contactUsDfPassword;
|
|
|
|
|
|
- @Value("${ucenter.contactUs.redirectUrl}")
|
|
|
- private String contactUsRedirectUrl;
|
|
|
}
|