uploadFirmware 上传固件接口

This commit is contained in:
Guoqs
2024-05-20 11:43:00 +08:00
parent c9c7421d9f
commit 3571f7828f
7 changed files with 29 additions and 6 deletions

View File

@@ -49,6 +49,13 @@ public class PileRemoteService {
@Value("${remoteUpdate.port}")
private int port;
@Value("${remoteUpdate.username}")
private String username;
@Value("${remoteUpdate.password}")
private String password;
/**
* 获取充电桩实时数据信息
*
@@ -215,6 +222,8 @@ public class PileRemoteService {
.pileSnList(dto.getPileSns())
.serverAddress(serverAddress)
.port(port)
.username(username)
.password(password)
.filePath(pileFirmwareInfo.getFilePath())
.build();
ykcPushCommandService.pushUpdateFileCommand(command);