- jd.GetStoreOrderInfo

This commit is contained in:
gazebo
2019-01-08 16:00:18 +08:00
parent 4b67311ba8
commit bb9644abe3
4 changed files with 120 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import (
"net/http"
"sort"
"strings"
"sync"
"git.rosy.net.cn/baseapi"
@@ -52,6 +53,8 @@ const (
signKey = "sign"
AllPage = 0
DefaultPageSize = 50
storeURL = "http://store.jd.com"
)
type API struct {
@@ -60,6 +63,9 @@ type API struct {
appSecret string
client *http.Client
config *platformapi.APIConfig
locker sync.RWMutex
storeCookie string
}
var (