|
@@ -8,6 +8,7 @@ import com.taobao.api.ApiException;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
+import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.io.UnsupportedEncodingException;
|
|
@@ -25,6 +26,7 @@ import java.util.concurrent.CompletableFuture;
|
|
**/
|
|
**/
|
|
@Slf4j
|
|
@Slf4j
|
|
@Service
|
|
@Service
|
|
|
|
+@RefreshScope
|
|
public class BuildSceneDTServiceImpl implements IBuildSceneDTService {
|
|
public class BuildSceneDTServiceImpl implements IBuildSceneDTService {
|
|
|
|
|
|
public static final String DINGTALK_MSG_PATTERN = "**环境**: %s\n\n" +
|
|
public static final String DINGTALK_MSG_PATTERN = "**环境**: %s\n\n" +
|