api/v1/device.go
@@ -73,9 +73,13 @@ return } resp := response.DeviceListResponse{ SystemDeviceID: conf.Conf.System.DeviceId, CurrentDeviceID: conf.Conf.CurrentDeviceID, DeviceIDList: list, 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) }