This commit is contained in:
邹宗楠
2023-06-15 10:40:28 +08:00
parent 5e1a6d6dd9
commit 4a8c0ffa71
3 changed files with 75 additions and 3 deletions

View File

@@ -10,9 +10,13 @@ import (
)
const (
AppKey = "34402634"
AppSecret = "fda9a7045262e3aa1f26ca508a9be242"
ServerUrl = "https://eco.taobao.com/router/rest"
AppKey = "34402634"
AppSecret = "fda9a7045262e3aa1f26ca508a9be242"
ServerUrl = "https://eco.taobao.com/router/rest" // 正式环境https
ServerUrl2 = "https://qimen.api.taobao.com/top/router/qmtest" // 沙箱环境https
ServerUrl3 = "http://qimen.api.taobao.com/top/router/qm" // 正式环境http
ServerUrl4 = "http://qimen.api.taobao.com/top/router/qmtest" // 沙箱环境http
)
func NewTaoVegetable(appKey, appSecret, serverUrl string) API {