打印日志

This commit is contained in:
Guoqs
2024-08-23 10:20:09 +08:00
parent d3db6b6b1b
commit 6604ee3470
2 changed files with 2 additions and 2 deletions

View File

@@ -451,7 +451,7 @@ public class PersonPileController extends BaseController {
logger.error("根据充电桩查询预约状态error, params:{}", dto, e);
response = new RestApiResponse<>(ReturnCodeEnum.CODE_QUERY_RESERVATION_STATUS_ERROR);
}
logger.info("根据充电桩查询预约状态params:{}, result:{}", dto, response);
logger.info("根据充电桩查询预约状态params:{}, result:{}", dto, JSON.toJSONString(response));
return response;
}
}

View File

@@ -99,7 +99,7 @@ public class ReservationChargingStartupResultHandler extends AbstractYkcHandler
.failReason(failReasonMsg)
.build();
pileBasicInfoService.startupResult(chargingStartupResult);
}catch (Exception e) {
} catch (Exception e) {
log.error("预约充电启动结果上送error", e);
confirmResultBytes = Constants.oneByteArray;
}