fix: 网元安装移除hostId使用网元ID
This commit is contained in:
@@ -162,7 +162,7 @@ func (s *NeSoftwareController) Install(c *gin.Context) {
|
||||
Preinput map[string]string `json:"preinput" binding:"required"` // 预先输入参数
|
||||
}
|
||||
err := c.ShouldBindBodyWith(&body, binding.JSON)
|
||||
if err != nil || body.Software.HostId == "" {
|
||||
if err != nil || body.Software.NeId == "" {
|
||||
c.JSON(400, result.CodeMsg(400, i18n.TKey(language, "app.common.err400")))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user