|
@ -168,6 +168,10 @@ public class CustomerFunctionDetailServiceImpl extends BaseServiceImpl<CustomerF |
|
|
logger.error(String.format("调用user服务,获取用户角色信息失败,用户Id:%s ,所属端:%s", formDTO.getUserId(), formDTO.getClientType())); |
|
|
logger.error(String.format("调用user服务,获取用户角色信息失败,用户Id:%s ,所属端:%s", formDTO.getUserId(), formDTO.getClientType())); |
|
|
throw new RenException(result.getCode()); |
|
|
throw new RenException(result.getCode()); |
|
|
} |
|
|
} |
|
|
|
|
|
//未查询到角色数据则不能查看定制功能(居民端陌生人无任何角色)
|
|
|
|
|
|
if (null == result || result.getData().size() < NumConstant.ONE) { |
|
|
|
|
|
return restltList; |
|
|
|
|
|
} |
|
|
formDTO.setRoleKeyList(result.getData()); |
|
|
formDTO.setRoleKeyList(result.getData()); |
|
|
|
|
|
|
|
|
//3.根据用户拥有的角色查询客户的定制功能
|
|
|
//3.根据用户拥有的角色查询客户的定制功能
|
|
|