| | |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 创建一卡通权限下载任务 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String taskAddition(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.taskAddition); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 查询一卡通权限下载任务进度 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String taskProgress(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.taskProgress); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 一卡通权限下载任务中添加数据_根据人员与设备通道指定下载 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String taskDataAddition(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.taskDataAddition); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * 一卡通开始下载任务 |
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String taskStart(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.taskStart); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数 |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | |
| | | |
| | | |