| | |
| | | *访客权限组列表查询(分页) |
| | | * @return |
| | | */ |
| | | public BaseResponse<PrivilegeGroupResponse> privilegeGroup(PrivilegeGroupRequest param){ |
| | | public BaseResponse<PrivilegeGroupListResponse> privilegeGroup(PrivilegeGroupRequest param){ |
| | | log.error("【海康访客权限组列表查询】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.privilegeGroup(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<PrivilegeGroupResponse> >(){}; |
| | | BaseResponse<PrivilegeGroupResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | new TypeReference< BaseResponse<PrivilegeGroupListResponse> >(){}; |
| | | BaseResponse<PrivilegeGroupListResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | log.error("【海康访客权限组列表查询】================成功====\n"+res); |
| | | return result; |
| | | }catch (Exception e){ |