This commit is contained in:
邹宗楠
2022-07-26 15:18:43 +08:00
parent 488e85bbaa
commit e2a42eac9b

View File

@@ -520,7 +520,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) {
//soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2))
//result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0100"+hexPrefixStr)
result = strings.ReplaceAll(result, sound, "")
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+voice)
result = strings.ReplaceAll(result, byteSignSound, hexSignSound+"02"+voice)
//}
}
}