Authored by zhaoqing

刷新CDN

... ... @@ -570,7 +570,7 @@ public class ActivtyTemplatedService implements BaseService<ActivtyTemplatedBo>
freshCdnUrlBO.setUrl(url);
logger.info("ActivtyTemplatedService :: upateActivityTemplate fresh cdn begin url is {}, auth_code is {}", url, freshCdnUrlBO.getAuth_code());
try{
Response<Object> resp = restTemplate.postForObject("http://ops-apigateway.yohops.com/cdn/refresh", freshCdnUrlBO, Response.class);
Response<Object> resp = restTemplate.postForObject("http://service-3n77jqfd-1251943603.ap-beijing.apigateway.myqcloud.com/cdn/refresh", freshCdnUrlBO, Response.class);
if (resp.getCode() == 200){
logger.info("ActivtyTemplatedService :: upateActivityTemplate fresh cdn success");
}else {
... ...