|
@@ -227,8 +227,6 @@ public class AttendanceAssessmentSdk {
|
|
* 接口调用结束后续逻辑处理
|
|
* 接口调用结束后续逻辑处理
|
|
*/
|
|
*/
|
|
private void afterAll(ApiCallDto paramVo, String jsonStr, String apiResult) {
|
|
private void afterAll(ApiCallDto paramVo, String jsonStr, String apiResult) {
|
|
- // 返回数据
|
|
|
|
- JSONObject apiReturnJson = JSONUtil.parseObj(apiResult);
|
|
|
|
// 接口日志保存
|
|
// 接口日志保存
|
|
ApiLogDo apiLogDo = new ApiLogDo();
|
|
ApiLogDo apiLogDo = new ApiLogDo();
|
|
apiLogDo.setId(SecurityUtil.getUUID());
|
|
apiLogDo.setId(SecurityUtil.getUUID());
|
|
@@ -238,7 +236,7 @@ public class AttendanceAssessmentSdk {
|
|
apiLogDo.setApiroute(this.apiVirtualDirectoryMap.get("blackApiUrl"));
|
|
apiLogDo.setApiroute(this.apiVirtualDirectoryMap.get("blackApiUrl"));
|
|
apiLogDo.setCalltype(Constants.APILOG_CALLTYPE_OUT);
|
|
apiLogDo.setCalltype(Constants.APILOG_CALLTYPE_OUT);
|
|
apiLogDo.setApisenddata(jsonStr);
|
|
apiLogDo.setApisenddata(jsonStr);
|
|
- apiLogDo.setApireturndata(apiReturnJson.toJSONString(0));
|
|
|
|
|
|
+ apiLogDo.setApireturndata(apiResult);
|
|
apiLogService.save(apiLogDo);
|
|
apiLogService.save(apiLogDo);
|
|
}
|
|
}
|
|
|
|
|