api/v1/device.go
@@ -76,6 +76,10 @@ SystemDeviceID: conf.Conf.System.DeviceId, CurrentDeviceID: conf.Conf.CurrentDeviceID, DeviceIDList: list, SystemDeviceStatus: response.SystemDeviceStatusNormal, ClusterStatus: conf.Conf.SerfClusterStatus, ClusterNodeQuantity: conf.Conf.ClusterNodeQuantity, SystemDeviceRunSince: conf.Conf.SystemDeviceRunSince, } ctx.OkWithDetailed(resp) }