新增获取终端数量统计,任务统计
This commit is contained in:
@ -5,7 +5,12 @@ import "github.com/gogf/gf/v2/frame/g"
|
||||
type GetOnlineDeviceReq struct {
|
||||
g.Meta `path:"/statistic/onlineDevice" method:"get" tags:"Backend/Statistic" summary:"(系统、商户、门店)获取门店设备在线列表"`
|
||||
NetbarAccount string `json:"netbarAccount" v:"required#网吧网关账号不能为空" dc:"网吧网关账号"`
|
||||
StoreId int64 `json:"storeId" v:"required#门店ID不能为空" dc:"门店ID"`
|
||||
}
|
||||
type GetOnlineDeviceRes struct {
|
||||
Total int64 `json:"total"`
|
||||
TerminalTotal int64 `json:"terminalTotal"`
|
||||
OnlineTerminalTotal int64 `json:"onlineTerminalTotal"`
|
||||
StartTimes int64 `json:"startTimes"`
|
||||
TaskTimes int64 `json:"taskTimes"`
|
||||
TaskCompletedTotal int64 `json:"taskCompletedTotal"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user