api/v1/device.go
@@ -67,7 +67,7 @@ if !ok { return } list, err := service.GetDeviceIDList() list, err := service.GetDeviceList() if err != nil { ctx.Fail(ecode.DBErr) return @@ -75,7 +75,7 @@ resp := response.DeviceListResponse{ SystemDeviceID: conf.Conf.System.DeviceId, CurrentDeviceID: conf.Conf.CurrentDeviceID, DeviceIDList: list, DeviceList: list, SystemDeviceStatus: response.SystemDeviceStatusNormal, ClusterStatus: conf.Conf.SerfClusterStatus, ClusterNodeQuantity: conf.Conf.ClusterNodeQuantity,