a
This commit is contained in:
@@ -38,6 +38,7 @@ const (
|
||||
printerStatusOnlineWithoutPaper = 2 //在线缺纸
|
||||
printerStatusOnline = 1 //在线
|
||||
printerStatusOffline = -1 //离线
|
||||
printerStatusOverFlow = -2 //流量超了
|
||||
)
|
||||
|
||||
//标签
|
||||
|
||||
@@ -19,7 +19,8 @@ type Printer struct {
|
||||
Name string `json:"name"` //打印机备注名
|
||||
Status int `json:"status"` //打印机状态
|
||||
IsOnline int `json:"is_online"` //1在线,0离线
|
||||
SIM string `orm:"column(sim)" json:"sim"` //sim卡号
|
||||
IccID string `orm:"column(icc_id)" json:"iccid"` //sim卡号
|
||||
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
|
||||
Volume int `json:"volume"` //音量,1-5 ,对应打印机2-10
|
||||
FlowFlag int `json:"flowFlag"` //是否超流量了,1表示超了
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user