1
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func TestPrintMsg(t *testing.T) {
|
||||
status, err := CurPrinterHandler.PrintMsg(jxcontext.AdminCtx, "120220915001877", "1", "test", `{"allSkuCount":"1","allSkuTypeCount":"1","appId":"1000","businessType":"1","buyerComment":"(缺货时电话与我联系)","consigneeAddress":"胜浦街道苏州市吴中区新胜路1号","consigneeMobile":"18468579157,459","consigneeName":"刘*****","eBaiOrderNo":"好菜鲜生","eBailCode":"0003","officialName":"京西菜市","orderNo":"4016410104511380003","orderStatus":"15","payOrderTime":"2023-03-21 16:18:26","qrcOrder":"4016410104511380003","skuList":"[{\"skuName\":\"【火锅食堂】雪花肥牛卷 牛肉卷约200g/份\",\"skuCount\":\"X1\",\"salePrice\":\"¥34.10\",\"totalCountPrice\":\"¥34.10\",\"upc\":\"\"}]","storeName":"好菜鲜生(胜浦中胜路店)","storeTel":"13205196216","trySendTime":"2023-03-21 16:54:33","userPayMoney":"¥33.10","vendorID":"3","vendorName":"饿百新零售","vendorOrderNo":"4"}`)
|
||||
status, err := CurPrinterHandler.PrintMsg(jxcontext.AdminCtx, "120220915001877", "1", "test", `{"allSkuCount":"1","allSkuTypeCount":"1","app_Id":"1000","businessType":"1","buyerComment":"(缺货时电话与我联系)","consigneeAddress":"胜浦街道苏州市吴中区新胜路1号","consigneeMobile":"18468579157,459","consigneeName":"刘*****","eBaiOrderNo":"好菜鲜生","eBailCode":"0003","officialName":"京西菜市","orderNo":"4016410104511380003","orderStatus":"15","payOrderTime":"2023-03-21 16:18:26","qrcOrder":"4016410104511380003","skuList":"[{\"skuName\":\"【火锅食堂】雪花肥牛卷 牛肉卷约200g/份\",\"skuCount\":\"X1\",\"salePrice\":\"¥34.10\",\"totalCountPrice\":\"¥34.10\",\"upc\":\"\"}]","storeName":"好菜鲜生(胜浦中胜路店)","storeTel":"13205196216","trySendTime":"2023-03-21 16:54:33","userPayMoney":"¥33.10","vendorID":"3","vendorName":"饿百新零售","vendorOrderNo":"4"}`)
|
||||
t.Log(utils.Format4Output(status, false))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user