diff --git a/src/framework/utils/telnet/telnet.go b/src/framework/utils/telnet/telnet.go index d224331c..651ede9d 100644 --- a/src/framework/utils/telnet/telnet.go +++ b/src/framework/utils/telnet/telnet.go @@ -12,7 +12,7 @@ import ( type ConnTelnet struct { User string `json:"user"` // 主机用户名 Addr string `json:"addr"` // 主机地址 - Port int `json:"port"` // telnet端口 + Port int64 `json:"port"` // telnet端口 Password string `json:"password"` // 认证密码 DialTimeOut time.Duration `json:"dialTimeOut"` // 连接超时断开 diff --git a/src/modules/network_element/controller/ne_action.go b/src/modules/network_element/controller/ne_action.go index 856f1f8a..783e3c07 100644 --- a/src/modules/network_element/controller/ne_action.go +++ b/src/modules/network_element/controller/ne_action.go @@ -22,7 +22,7 @@ var NewNeAction = &NeActionController{ // 网元处理请求 // -// PATH / +// PATH /action type NeActionController struct { // 网元信息服务 neInfoService neService.INeInfo @@ -66,7 +66,7 @@ func (s *NeActionController) PushFile(c *gin.Context) { c.JSON(200, result.OkData(filepath.ToSlash(neFilePath))) } -// 从网元端获取文件 +// 获取文件从网元到本地 // // GET /pullFile func (s *NeActionController) PullFile(c *gin.Context) {