1
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user