1
0

feat: 用户导入角色初始/网元文件列表

This commit is contained in:
TsMask
2023-12-14 21:01:05 +08:00
parent 56310cc3c9
commit 615ab2eb2e
13 changed files with 297 additions and 92 deletions

View File

@@ -104,7 +104,7 @@ func (s *TcpdumpController) Download(c *gin.Context) {
}
nePath := fmt.Sprintf("/tmp/%s", body.FileName)
localPath := fmt.Sprintf("%s/tcpdump/%s", config.Get("ne.scpdir"), body.FileName)
localPath := fmt.Sprintf("/tmp/omc/tcpdump/%s", body.FileName)
err = ssh.FileSCPNeToLocal(neInfo.IP, nePath, localPath)
if err != nil {
c.JSON(200, result.ErrMsg(err.Error()))