fix: 网管状态信息返回版本号
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/tsmask/go-oam"
|
||||
goOamState "github.com/tsmask/go-oam/modules/state/service"
|
||||
|
||||
"be.ems/src/framework/config"
|
||||
"be.ems/src/framework/logger"
|
||||
"be.ems/src/framework/resp"
|
||||
"be.ems/src/framework/utils/date"
|
||||
@@ -685,6 +686,7 @@ func (s APIRestController) QuerySystemState(c *gin.Context) {
|
||||
info.SerialNum = "-"
|
||||
info.ExpiryDate = "-"
|
||||
info.Capability = 50
|
||||
info.Version = config.Version
|
||||
c.JSON(200, info)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user