1
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user