修改指令

This commit is contained in:
邹宗楠
2022-07-28 14:09:33 +08:00
parent 714d618550
commit 5933a585cd
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ const (
hexSignQr = "1b5a000106" // "1b5a000106" 0600 : 后面二维码的字节数
hexSignQrEnd = "000a1b40" // 000a0a0a1b40
hexSignSound = "1d6b40" // 音频指令(自定义语音指令)
hexSignSoundSolidification = "1B594155" // 音频指令(固化指令)
hexSignSoundSolidification = "1B59415501" // 音频指令(固化指令)
//起始标签 -- 自定义标签utf8转码为gbk字符集
byteSignBR = "3c62723e" // 换行

View File

@@ -16,8 +16,8 @@ func TestPrintMsg(t *testing.T) {
msg := &model.PrintMsg{
ModelIDCULD: model.ModelIDCULD{},
PrintNo: "20220707000002",
Content: "<sound>77</sound>",
OrderNo: 202207261655,
Content: "<center>居中文字</center><br><sound>61</sound><br><sound>62</sound><br>",
OrderNo: 1,
Status: 0,
Comment: "",
MsgID: "1",