| | |
| | | // 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; |
| | | componentId = ""; |
| | | // return "https://10.50.250.253:443/portal/ui/index?menuId=002656&token="+token; |
| | | } |
| | | log.info("【海康获取工作台菜单免密登陆调整地址】================开始====menuId:"+menuId+"==token:"+token); |
| | | try { |
| | |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public static BaseResponse<SensorStatusStatisticResponse> sensorStatusStatistic(){ |
| | | log.info("【消防维保定制-设备维保情况】================开始===="); |
| | | try { |
| | | String res = HKTools.sensorStatusStatistic(null); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<SensorStatusStatisticResponse>>(){}; |
| | | BaseResponse<SensorStatusStatisticResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康消防维保统计"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【消防维保定制-设备维保情况】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | /** |
| | | *本月新增维保设备数 |
| | | * api_fire_statistic_month |