|
|
@@ -88,20 +88,20 @@ public class BusinessContractReceiveController {
|
|
88
|
88
|
@RequestMapping(value="/saveContract",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.POST)
|
|
89
|
89
|
@ApiOperation(value="合同接收保存", notes = "市平台推送来的合同")
|
|
90
|
90
|
@ApiImplicitParams({
|
|
91
|
|
- @ApiImplicitParam(name = "datas", value = "数据串", paramType = "form")
|
|
|
91
|
+ @ApiImplicitParam(name = "notice", value = "数据串", paramType = "form")
|
|
92
|
92
|
})
|
|
93
|
|
- public String saveContract(String datas) {
|
|
|
93
|
+ public String saveContract(String notice) {
|
|
94
|
94
|
logger.info("市平台推送合同数据如下:");
|
|
95
|
|
- logger.info(datas);
|
|
|
95
|
+ logger.info(notice);
|
|
96
|
96
|
Map<String, String> result = new HashMap<>();
|
|
97
|
97
|
try {
|
|
98
|
|
- result = businessContractReceiveService.receiveContractData(datas);
|
|
99
|
|
- systemOutsideDataService.addlogger("htjs", datas, result.toString());
|
|
|
98
|
+ result = businessContractReceiveService.receiveContractData(notice);
|
|
|
99
|
+ systemOutsideDataService.addlogger("htjs", notice, result.toString());
|
|
100
|
100
|
} catch (Exception e) {
|
|
101
|
101
|
result.put("status", "500");
|
|
102
|
102
|
result.put("msg", "接口异常,请联系管理员");
|
|
103
|
103
|
logger.error(e.getMessage(), e);
|
|
104
|
|
- systemOutsideDataService.addlogger("htjs", datas, result.toString());
|
|
|
104
|
+ systemOutsideDataService.addlogger("htjs", notice, result.toString());
|
|
105
|
105
|
}
|
|
106
|
106
|
return result.toString();
|
|
107
|
107
|
}
|