|
@@ -30,6 +30,7 @@ import com.fdkankan.redis.util.RedisUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
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.stereotype.Service;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
|
|
|
@@ -47,6 +48,7 @@ import java.util.Objects;
|
|
|
**/
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
+@RefreshScope
|
|
|
public class BuildObjServiceImpl implements IBuildSceneService {
|
|
|
|
|
|
@Value("${queue.modeling.modeling-call}")
|