| | |
| | | public @ResponseBody |
| | | ApiResp dnjgsj(HttpServletRequest request, @PathVariable("interfaceId") String interfaceId, @RequestBody String dataStr) { |
| | | |
| | | log.info("-----接收对农系统数据={}-----", dataStr); |
| | | if(StringUtils.isEmpty(interfaceId)){ |
| | | return new ApiResp(ApiRespCode.R_500.getCode(),ApiRespCode.R_500.getMsg()); |
| | | } |
| | |
| | | if(StringUtils.isEmpty(data)){ |
| | | return new ApiResp(ApiRespCode.R_500.getCode(),ApiRespCode.R_500.getMsg()); |
| | | } |
| | | |
| | | log.info("-----对农系统,接口编码={},数据解密={}-----",interfaceId, data); |
| | | //异步保存 |
| | | shdnService.syncData(interfaceId, data, shdn2023ReqDto.getDeptId()); |
| | | |