fix: 新增发送文件到网元服务器

This commit is contained in:
TsMask committed 2023-11-28 09:47:21 +08:00
1 parent 05d94572f4
commit 1380bf8698
6 files changed
+88 -11

No files matched your search

@@ -35,7 +35,7 @@ func (s *NeInfoController) NeTypeAndID(c *gin.Context) {
neInfo := s.neInfoService.SelectNeInfoByNeTypeAndNeID(neType, neId)
if neInfo.NeId != neId || neInfo.IP == "" {
c.JSON(200, result.OkData(i18n.TKey(language, "app.common.noNEInfo")))
c.JSON(200, result.ErrMsg(i18n.TKey(language, "app.common.noNEInfo")))
return
}
c.JSON(200, result.OkData(neInfo))