This commit is contained in:
邹宗楠
2023-06-14 11:49:22 +08:00
parent 094c263944
commit d37bb62403
5 changed files with 99 additions and 25 deletions

View File

@@ -4,9 +4,9 @@ import (
"encoding/json"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/topsdk/ability304"
"git.rosy.net.cn/topsdk/ability304/request"
"topsdk"
"topsdk/ability304"
"topsdk/ability304/request"
)
const (
@@ -20,7 +20,9 @@ func NewTaoVegetable(appKey, appSecret, serverUrl string) API {
}
type API struct {
client topsdk.TopClient
client topsdk.TopClient
token string
refreshToken string
}
func (a API) GetStoreToken(code, uuId string) (*StoreTokenInfo, error) {