Commit 0e3c222d by songyinghui

feat: 企业客服电话

parent 63fd6ffb
......@@ -696,8 +696,11 @@ public class WxEnterpriseRelatedApiServiceImpl implements WxEnterpriseRelatedApi
if (enterprise == null){
return com.gic.api.base.commons.ServiceResponse.failure(HaoBanErrCodeCommon.ERR_8.getCode()+"", HaoBanErrCodeCommon.ERR_8.getMsg());
}
enterpriseDetailDTO.setConactsPhone(enterpriseDetailDTO.getConactsPhone());
enterpriseDetailDTO.setCustomerPhone(enterpriseDetailDTO.getCustomerPhone());
enterpriseDetailDTO.setEnterpriseName(enterprise.getEnterpriseName());
enterpriseDetailDTO.setEnterpriseLogo(enterprise.getQcloudImageUrl());
enterpriseDetailDTO.setBrandName(enterprise.getBrandName());
enterpriseDetailDTO.setConactsPhone(enterprise.getConactsPhone());
enterpriseDetailDTO.setCustomerPhone(enterprise.getCustomerPhone());
return com.gic.api.base.commons.ServiceResponse.success(enterpriseDetailDTO);
}
}
......@@ -54,6 +54,7 @@ public class HmPageServiceTest {
@Test
public void entriprise(){
ServiceResponse<EnterpriseDetailDTO> enterpriseDetailDTOServiceResponse = enterpriseRelatedApiService.queryEnterpriseDetail("ca66a01b79474c40b3e7c7f93daf1a3b", "ff8080815dacd3a2015dacd3ef5c0000");
System.out.println(JSON.toJSONString(enterpriseDetailDTOServiceResponse));
}
}
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