liuxiaolong
2019-09-28 51a9c5267092d0e377dbb3d80d78d0555e6e94f9
controllers/syssetcont.go
@@ -34,9 +34,9 @@
type Gb28181ConfigVo struct {
   Id string `json:"Id"`
   ServerIp string `json:"ServerIp" example:"国标服务器IP"`
   ServerPort int `json:"ServerPort" example:"服务器端口:8060"`
   PublicId string `json:"PublicId" example:"国标服务器Id"`
   GbServerPort int `json:"GbServerPort" example:"国标服务端口:7060"`
   ServerPort int `json:"ServerPort" example:"平台服务端口:7060"`
   PublicId string `json:"PublicId" example:"平台服务Id"`
   GbServerPort int `json:"GbServerPort" example:"国标服务端口:8060"`
   IsAuth bool `json:"IsAuth" example:"是否开启鉴权:true"`
   Password string `json:"Password" example:"密码"`
   UpdateTime string `json:"UpdateTime"`
@@ -155,7 +155,15 @@
      resData["ip"] = ipv4
      resData["subMask"] = mask
      resData["gateway"] = gateway
      // 存在
      resData["deviceNum"] = config.Server.DeviceNum
      resData["deviceType"] = config.Server.DeviceType
      resData["deviceSerialNum"] = config.Server.DeviceSerialNum
      resData["masterVersion"] = config.Server.MasterVersion
      resData["webVersion"] = config.Server.WebVersion
      resData["channelCount"] = config.Server.ChannelCount
      resData["diskCount"] = config.Server.DiskCount
      util.ResponseFormat(c, code.Success, resData)
   }
}