| | |
| | | |
| | | @ApiOperation("君子签签约回调通知") |
| | | @PostMapping("/signNotify") |
| | | public ApiResponse updateStatus(@RequestBody NotifyReq request) { |
| | | |
| | | public void updateStatus(@RequestBody NotifyReq request,HttpServletResponse response) { |
| | | Map<String, Object> context = new HashMap<>(); |
| | | context.put("success",true); |
| | | InterfaceLog log=new InterfaceLog(); |
| | | log.setType(1); |
| | | log.setCreateDate(new Date()); |
| | |
| | | insuranceApplyService.dealSignResult(request.getData()); |
| | | }catch (Exception e){ |
| | | log.setRepose("处理异常;"+e.getMessage()); |
| | | context.put("success",false); |
| | | context.put("msg","处理发生异常"); |
| | | throw e; |
| | | }finally { |
| | | interfaceLogService.create(log); |
| | | } |
| | | |
| | | return ApiResponse.success(null); |
| | | writerJson(response, context); |
| | | } |
| | | |
| | | @ApiOperation(value = "上传", notes = "上传", httpMethod = "POST", position = 6) |