This commit is contained in:
suyl
2021-07-09 11:07:06 +08:00
parent 295d790dab
commit 754749ff4d

View File

@@ -23,6 +23,8 @@ type Printer struct {
Status int `json:"status"` //打印机状态
IsOnline int `json:"is_online"` //1在线0离线
SIM string `orm:"column(sim)" json:"sim"` //sim卡号
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume"` //音量1-5 对应打印机2-10
}
func (v *Printer) TableIndex() [][]string {