| | |
| | | return null; |
| | | } |
| | | /** |
| | | *海康1.4.7.3按业务编号查询下发记录 |
| | | * @return |
| | | */ |
| | | public static BaseResponse<AuthResultPageResponse> authResultPage(AuthResultPageRequest param){ |
| | | log.info("【海康按业务编号查询下发记录】================开始===="+JSONObject.toJSONString(param)); |
| | | String res = null; |
| | | try { |
| | | res = HKTools.authResultPage(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<AuthResultPageResponse> >(){}; |
| | | BaseResponse<AuthResultPageResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康按业务编号查询下发记录"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康按业务编号查询下发记录】================失败====:\n"+ e.getMessage()); |
| | | }finally { |
| | | // saveInterfaceLog(param,res); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *海康一卡通任务开始执行 |
| | | * @return |
| | | */ |
| | |
| | | String menuId = HKConstants.MenuPageId.afzx; |
| | | if(Constants.equalsInteger(type,Constants.ONE)){ |
| | | menuId = HKConstants.MenuPageId.xkzx; |
| | | }/*else if(Constants.equalsInteger(type,Constants.TWO)){ |
| | | }else if(Constants.equalsInteger(type,Constants.TWO)){ |
| | | menuId = HKConstants.MenuPageId.ngzx; |
| | | }else if(Constants.equalsInteger(type,Constants.THREE)){ |
| | | menuId = HKConstants.MenuPageId.jsc; |
| | |
| | | // return "https://10.50.250.253:443/xauthplus-plugin/thirdLogin?type=third&service=https://10.50.250.253:443/cems/config/generalCard&token="+token; |
| | | }else if(Constants.equalsInteger(type,7)){ |
| | | menuId = HKConstants.MenuPageId.hqzx; |
| | | }*/ |
| | | } |
| | | log.info("【海康获取工作台菜单免密登陆调整地址】================开始====menuId:"+menuId+"==token:"+token); |
| | | try { |
| | | ///xauthplus-plugin/thirdLogin?type=third&componentId=${componentId}&componentMenuId=${menuId}&token=${token} |
| | | ///xauthplus-plugin/thirdLogin?type=third&componentld=vms&componentMenuld=010100 |
| | | String res = HKTools.getMenuUrl(componentId,menuId,token); |
| | | return res; |
| | | }catch (Exception e){ |