fix: UDM导入结果直接返回信息

This commit is contained in:
TsMask
2023-11-02 11:52:30 +08:00
parent a59aec4834
commit 6329f04797

View File

@@ -607,7 +607,7 @@ func (s *UdmUserApi) UdmAuthUserImport(w http.ResponseWriter, r *http.Request) {
go s.authUser.InsertTxt(neId, data)
}
}
ctx.JSON(w, 200, result.OkData(data))
ctx.JSON(w, 200, result.OkMsg(data))
}
// UDM签约用户
@@ -1197,5 +1197,5 @@ func (s *UdmUserApi) UdmSubUserImport(w http.ResponseWriter, r *http.Request) {
go s.subUser.InsertTxt(neId, data)
}
}
ctx.JSON(w, 200, result.OkData(data))
ctx.JSON(w, 200, result.OkMsg(data))
}