|
|
@ -538,14 +538,14 @@ public class CustomerServiceImpl extends BaseServiceImpl<CustomerDao, CustomerEn |
|
|
|
throw new RenException(customerResult.getCode(), customerResult.getInternalMsg()); |
|
|
|
} |
|
|
|
|
|
|
|
//7.设置服务器域名,业务域名
|
|
|
|
String domainUrl = "https://epmet-cloud.elinkservice.cn/api/third/code/setdomain/" + formDTO.getCustomerId(); |
|
|
|
String domainData = HttpClientManager.getInstance().sendPostByJSON(domainUrl, null).getData(); |
|
|
|
JSONObject domainObject = JSON.parseObject(domainData); |
|
|
|
Result domainResult = ConvertUtils.mapToEntity(domainObject, Result.class); |
|
|
|
if (!domainResult.success()) { |
|
|
|
throw new RenException(domainResult.getCode(), domainResult.getInternalMsg()); |
|
|
|
} |
|
|
|
//7.设置服务器域名,业务域名 todo 为了测试方便,临时去掉
|
|
|
|
//String domainUrl = "https://epmet-cloud.elinkservice.cn/api/third/code/setdomain/" + formDTO.getCustomerId();
|
|
|
|
//String domainData = HttpClientManager.getInstance().sendPostByJSON(domainUrl, null).getData();
|
|
|
|
//JSONObject domainObject = JSON.parseObject(domainData);
|
|
|
|
//Result domainResult = ConvertUtils.mapToEntity(domainObject, Result.class);
|
|
|
|
//if (!domainResult.success()) {
|
|
|
|
// throw new RenException(domainResult.getCode(), domainResult.getInternalMsg());
|
|
|
|
//}
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|