Browse Source

设置业务域名修改

master
zhaoqifeng 5 years ago
parent
commit
e368e19ff2
  1. 2
      epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/FunctionCustomizedServiceImpl.java

2
epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/FunctionCustomizedServiceImpl.java

@ -287,6 +287,7 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto
String domainData = HttpClientManager.getInstance().sendPostByJSON(domainUrl, JSON.toJSONString(domainFormDTO)).getData();
JSONObject domainObject = JSON.parseObject(domainData);
Result domainResult = ConvertUtils.mapToEntity(domainObject, Result.class);
domainResult.setCode(domainObject.getInteger("code"));
if (!domainResult.success()) {
throw new RenException(domainResult.getCode(), domainResult.getInternalMsg());
}
@ -297,6 +298,7 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto
WebviewDomainFormDTO domainFormDTO = new WebviewDomainFormDTO();
domainFormDTO.setCustomerId(formDTO.getCustomerId());
domainFormDTO.setClientType("work");
domainFormDTO.setAction("set");
domainFormDTO.setWebViewDomain(workDomains);
String domainData = HttpClientManager.getInstance().sendPostByJSON(domainUrl, JSON.toJSONString(domainFormDTO)).getData();
JSONObject domainObject = JSON.parseObject(domainData);

Loading…
Cancel
Save