京东商城预订单匹配修改

This commit is contained in:
苏尹岚
2020-06-17 15:21:51 +08:00
parent 3d1c0b3ab0
commit 28b52e4536
5 changed files with 27 additions and 74 deletions

View File

@@ -2,6 +2,7 @@ package jdshopapi
import (
"encoding/base64"
"fmt"
"testing"
"git.rosy.net.cn/baseapi/utils"
@@ -63,7 +64,7 @@ func TestGetCounty(t *testing.T) {
}
func TestFindSkuSiteStock(t *testing.T) {
result, err := api.FindSkuSiteStock(24339305, 69353498265)
result, err := api.FindSkuSiteStock(24339305, 69353570679)
if err != nil {
t.Fatal(err)
}
@@ -93,3 +94,9 @@ func TestFindStoreInfoByExtStoreId(t *testing.T) {
}
t.Log(utils.Format4Output(result, false))
}
func TestWIREHL(t *testing.T) {
data := "http://image.jxc4.com/image/f8578c9ee724408d514bbbfac3461142.tem.png"
res := base64.URLEncoding.EncodeToString([]byte(data))
fmt.Println(res)
}