style: 去除Impl接口声明层聚焦服务函数
This commit is contained in:
@@ -43,7 +43,7 @@ func (s *WSController) SSH(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
neHost := neService.NewNeHostImpl.SelectById(query.HostId)
|
||||
neHost := neService.NewNeHost.SelectById(query.HostId)
|
||||
if neHost.HostID != query.HostId || neHost.HostType != "ssh" {
|
||||
// 没有可访问主机信息数据!
|
||||
c.JSON(200, result.ErrMsg(i18n.TKey(language, "neHost.noData")))
|
||||
|
||||
Reference in New Issue
Block a user