This commit is contained in:
邹宗楠
2023-07-24 11:20:24 +08:00
parent 764f22b32c
commit 1c76565c02
2 changed files with 2 additions and 2 deletions

View File

@@ -417,7 +417,7 @@ func buildMsg(printMsg *model.PrintMsg) (data []byte, err error) {
//替换特殊字符上面那个hextob转不了先替换一下
func replaceContentOther(content string) string {
return strings.ReplaceAll(content, "⃣️", " ")
return strings.ReplaceAll(strings.ReplaceAll(content, "⃣️", " "), "•", "-")
}
func getCheckSum(str string) (check string) {