|
@@ -32,6 +32,7 @@ import org.aspectj.lang.annotation.Before;
|
|
|
import org.aspectj.lang.annotation.Pointcut;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
|
import org.springframework.core.annotation.Order;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.web.context.request.RequestContextHolder;
|
|
@@ -44,6 +45,7 @@ import org.springframework.web.context.request.ServletRequestAttributes;
|
|
|
@Aspect
|
|
|
@Component
|
|
|
@Order(2)
|
|
|
+@RefreshScope
|
|
|
public class CheckCurrenUserAspect {
|
|
|
|
|
|
@Value("${4dkk.manageService.basePath}")
|