mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
uploadFirmware 上传固件接口
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user