Commit 23974cdb by shuhu.hou@freemud.cn

删除orderManagerSdk

parent 059ea37e
......@@ -56,19 +56,5 @@ public class OrderRestTemplateConfig {
}
return RestTemplateUtils.getRestTemplateByType(map);
}
@Bean(name = "orderManagerRestTemplate")
public RestTemplate orderDownLoadRestTemplate(@Autowired OrderManagerCenterProperties orderCenterProperties) {
Map<String, Integer> map = new HashMap<>(16);
if (orderCenterProperties.getRetryTimes() != null) {
map.put(RestTemplateConstant.RETRY_TIMES, orderCenterProperties.getRetryTimes());
}
if (orderCenterProperties.getConnectTimeOut() != null) {
map.put(RestTemplateConstant.CONNECT_TIMEOUT, orderCenterProperties.getConnectTimeOut());
}
if (orderCenterProperties.getReadTimeOut() != null) {
map.put(RestTemplateConstant.READ_TIMEOUT, orderCenterProperties.getReadTimeOut());
}
return RestTemplateUtils.getRestTemplateByType(map);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment