|
|
@ -117,12 +117,12 @@ public class CodeServiceImpl implements CodeService { |
|
|
|
if (null == authInfo) { |
|
|
|
throw new RenException("未授权"); |
|
|
|
} |
|
|
|
CustomerDTO customerFormDTO = new CustomerDTO(); |
|
|
|
/*CustomerDTO customerFormDTO = new CustomerDTO(); |
|
|
|
customerFormDTO.setId(formDTO.getCustomerId()); |
|
|
|
Result<CustomerDTO> result = operCrmOpenFeignClient.getCustomerInfo(customerFormDTO); |
|
|
|
if (!result.success()) { |
|
|
|
throw new RenException(result.getCode(), result.getMsg()); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
//获取小程序居民端与工作端名称
|
|
|
|
String resiName = miniInfoDao.getNickName(formDTO.getCustomerId(), CodeConstant.RESI); |
|
|
|
String workName = miniInfoDao.getNickName(formDTO.getCustomerId(), CodeConstant.WORK); |
|
|
@ -132,7 +132,8 @@ public class CodeServiceImpl implements CodeService { |
|
|
|
wxExtJson.getExt().setExtAppid(authInfo.getAuthorizerAppid()); |
|
|
|
wxExtJson.getExt().setResiName(resiName); |
|
|
|
wxExtJson.getExt().setWorkName(workName); |
|
|
|
wxExtJson.getExt().setCustomerName(null == result.getData().getCustomerName()?"":result.getData().getCustomerName()); |
|
|
|
//wxExtJson.getExt().setCustomerName(null == result.getData().getCustomerName()?"":result.getData().getCustomerName());
|
|
|
|
wxExtJson.getExt().setCustomerName(""); |
|
|
|
if (CodeConstant.RESI.equals(formDTO.getClientType())) { |
|
|
|
wxExtJson.getWindow().setNavigationBarTitleText(resiName); |
|
|
|
} else { |
|
|
|