aa
This commit is contained in:
@@ -472,7 +472,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
|
|||||||
//0101 固定
|
//0101 固定
|
||||||
soundPrefix := ""
|
soundPrefix := ""
|
||||||
if printer.Sound != "" {
|
if printer.Sound != "" {
|
||||||
soundPrefix = "[v" + utils.Int2Str(printer.Volume*2) + "]" + printer.Sound + ","
|
soundPrefix = "[v" + utils.Int2Str(printer.Volume*2) + "]" + printer.Sound
|
||||||
} else {
|
} else {
|
||||||
soundPrefix = "[v" + utils.Int2Str(printer.Volume*2) + "]"
|
soundPrefix = "[v" + utils.Int2Str(printer.Volume*2) + "]"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user