| | |
| | | */ |
| | | public static String authItemList(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.authItemList); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数 |
| | | Map<String, String> header = new HashMap<>(); |
| | | header.put("tagId", UUID.randomUUID().toString().replace("-", "")); |
| | | // header.put("tagId", "frs"); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 批量开卡 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String cardBingding(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.cardBingding); |
| | | Map<String, String> header = new HashMap<>(); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 退卡 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String cardDeletion(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.cardDeletion); |
| | | Map<String, String> header = new HashMap<>(); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 批量挂失 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String cardLoss(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.cardLoss); |
| | | Map<String, String> header = new HashMap<>(); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 批量解挂 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String cardUnloss(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.cardUnloss); |
| | | Map<String, String> header = new HashMap<>(); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 查询设备通道的人员权限下载详情 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String taskPersoDetail(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.taskPersoDetail); |
| | | Map<String, String> header = new HashMap<>(); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | |
| | | } |