update 电单车协议

This commit is contained in:
Guoqs
2024-09-03 11:41:33 +08:00
parent 18de552bbc
commit f729431d7d
5 changed files with 63 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ public class TempController extends BaseController {
public RestApiResponse<?> tempStartCharging(@RequestBody QueryOrderDTO dto) {
RestApiResponse<?> response = null;
try {
eBikeSendCommandService.startCharging(dto.getPileSn());
eBikeSendCommandService.startCharging(dto.getPileSn(), dto.getConnectorCode());
} catch (Exception e) {
logger.error("电单车开始充电 error", e);
response = new RestApiResponse<>(ReturnCodeEnum.CODE_FAILED);