This commit is contained in:
邹宗楠
2022-12-19 17:39:58 +08:00
parent dbb12b3e6c
commit f4f77e36db
3 changed files with 64 additions and 16 deletions

View File

@@ -93,9 +93,13 @@ type PrintInfo struct {
}
type PagedInfo struct {
TotalCount int `json:"totalCount"`
Data interface{} `json:"data"`
PrintBill map[string]int64 `json:"printBill"`
TotalCount int `json:"totalCount"`
Data interface{} `json:"data"`
}
type PageInfoAndPrintBill struct {
TotalCount int `json:"totalCount"`
Data []*Printer `json:"data"`
}
type ModelIDCULD struct {
@@ -198,6 +202,7 @@ type Printer struct {
FlowFlag int `json:"flow_flag" db:"flow_flag"` //是否超流量了1表示超了
OfflineCount int `json:"offline_count" db:"offline_count"` //掉线次数
UserId string `json:"user_id" db:"user_id"` //打印机所属用户
PrintBill int64 `json:"-" db:"-"` // 账户余额
}
type PrintMsg struct {