From d96303639df770a58e87e87a867c30d5e1e7f4ad Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 21 Jul 2025 18:26:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BD=91=E7=AE=A1=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=BF=94=E5=9B=9Enil=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/oam/controller/api_rest.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/oam/controller/api_rest.go b/src/modules/oam/controller/api_rest.go index 3675b951..8c426b29 100644 --- a/src/modules/oam/controller/api_rest.go +++ b/src/modules/oam/controller/api_rest.go @@ -681,7 +681,11 @@ func (s APIRestController) QuerySystemState(c *gin.Context) { c.JSON(200, resp.ErrMsg("elementType only omc")) return } - c.JSON(200, goOamState.NewState.Info()) + info := goOamState.NewState.Info() + info.SerialNum = "-" + info.ExpiryDate = "-" + info.Capability = 50 + c.JSON(200, info) } // NeConfigOMC 网元配置对端网管信息