门店增加可调节打印机声音
This commit is contained in:
@@ -281,3 +281,10 @@ func (c *PrinterHandler) PlayText(ctx *jxcontext.Context, id1, id2, orderID, tex
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
|
||||
func (c *PrinterHandler) SetSound(ctx *jxcontext.Context, id1, id2, sound string) (err error) {
|
||||
if globals.EnableStoreWrite {
|
||||
err = api.YilianyunAPI.SetSound(id1, sound)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user