mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
【feat】首页面板数据
This commit is contained in:
@@ -50,3 +50,18 @@ func (DeviceCmdLog) TableName() string {
|
||||
type DeviceStatistics struct {
|
||||
Time time.Time `gorm:"comment:时间" json:"time"`
|
||||
}
|
||||
|
||||
type DeviceCount struct {
|
||||
Total int64 `json:"total"`
|
||||
Today int64 `json:"todayAdd"`
|
||||
}
|
||||
|
||||
type DeviceCountLinkStatus struct {
|
||||
Total int64 `json:"deviceTotal"`
|
||||
LinkStatus string `json:"linkStatus"`
|
||||
}
|
||||
|
||||
type DeviceCountType struct {
|
||||
Total int64 `json:"deviceTotal"`
|
||||
DeviceType string `json:"deviceType"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user