Commit 88237871 by levphon

工单标准接口-数据迁移

1 parent 1670139a
...@@ -13,6 +13,7 @@ import com.glsx.plat.common.utils.HttpUtils; ...@@ -13,6 +13,7 @@ import com.glsx.plat.common.utils.HttpUtils;
import com.glsx.plat.common.utils.StringUtils; import com.glsx.plat.common.utils.StringUtils;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
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.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -21,6 +22,7 @@ import java.util.TreeMap; ...@@ -21,6 +22,7 @@ import java.util.TreeMap;
@Slf4j @Slf4j
@Service @Service
@RefreshScope
public class BhgBizService { public class BhgBizService {
@Value("${bhg_access_orderService_url}") @Value("${bhg_access_orderService_url}")
......
...@@ -4,6 +4,7 @@ import cn.com.glsx.stdinterface.common.exception.StdInterfaceException; ...@@ -4,6 +4,7 @@ import cn.com.glsx.stdinterface.common.exception.StdInterfaceException;
import cn.com.glsx.stdinterface.modules.util.RopHttpUtil; import cn.com.glsx.stdinterface.modules.util.RopHttpUtil;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
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 org.springframework.util.LinkedMultiValueMap; import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap; import org.springframework.util.MultiValueMap;
...@@ -14,8 +15,9 @@ import org.springframework.util.MultiValueMap; ...@@ -14,8 +15,9 @@ import org.springframework.util.MultiValueMap;
* @description: 短信发送服务 * @description: 短信发送服务
* @date 2021/11/14 14:23 * @date 2021/11/14 14:23
*/ */
@Service
@Slf4j @Slf4j
@Service
@RefreshScope
public class MessageService { public class MessageService {
@Value("${sendMessageUrl}") @Value("${sendMessageUrl}")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!