This commit is contained in:
邹宗楠
2024-12-13 17:36:19 +08:00
parent ba9ded985a
commit 3ff2a5dcb9
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ var (
TiAppSecret = "79e3b918aeca427bbbf9d0503f9f9106"
TestSn = "670020035344" //打印机编号
TestKey = "6p7wkk" //打印机密钥
BaseUrl = "https://printer.juhesaas.com/openapi"
BaseUrl = "https://iot-device.trenditiot.com/openapi"
)
const (

View File

@@ -99,7 +99,7 @@ func TestAPI_AddPrinterOrder(t *testing.T) {
//--------------------------------
//<font# bolder=1 height=2 width=1>1.哇哈哈纯净水24瓶装 x8 ¥321.0</font#><BR><BR><LEFT><font# bolder=0 height=2 width=1>共1种8件商品</font#></LEFT>
//<font# bolder=0 height=2 width=1>--------------#19完-------------</font#>`
result, err := api.Print("670020035344", context, "10")
result, err := api.Print("680020033919", context, "10")
fmt.Println(result)
fmt.Println(err)
}