feat 添加coach的brandId
This commit is contained in:
parent
bee41b8bc4
commit
9f7e84bf7c
@ -8,19 +8,7 @@ func TestNewArticleServiceClient(t *testing.T) {
|
|||||||
// Secret: "3c3ab5aa12fc4f7d8e11a32e11c08760",
|
// Secret: "3c3ab5aa12fc4f7d8e11a32e11c08760",
|
||||||
// Env: "dev",
|
// Env: "dev",
|
||||||
//})
|
//})
|
||||||
cli := NewArticleServiceClient(Config{
|
cli := NewArticleServiceClient(testConfig)
|
||||||
Public: PublicConfig{
|
|
||||||
Key: "92a2afa02627410fae9e3331cc850224",
|
|
||||||
Secret: "73b5bf12bc5e4b4690f444b32b934dc0feb1e42977514333a76f263592ee37f4",
|
|
||||||
Env: "online",
|
|
||||||
},
|
|
||||||
Proxy: &ProxyConfig{
|
|
||||||
Host: "jd.timerzz.com",
|
|
||||||
Port: "8090",
|
|
||||||
User: "timerzz",
|
|
||||||
Pass: "zhhg1997",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
resp, err := cli.BatchArticleNumber([]string{"C4250-IMNLJ"})
|
resp, err := cli.BatchArticleNumber([]string{"C4250-IMNLJ"})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
@ -12,19 +12,7 @@ var testConfig = Config{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestNewBidConsignClient(t *testing.T) {
|
func TestNewBidConsignClient(t *testing.T) {
|
||||||
cli := NewConsignBidClient(Config{
|
cli := NewConsignBidClient(testConfig)
|
||||||
Public: PublicConfig{
|
|
||||||
Key: "92a2afa02627410fae9e3331cc850224",
|
|
||||||
Secret: "73b5bf12bc5e4b4690f444b32b934dc0feb1e42977514333a76f263592ee37f4",
|
|
||||||
Env: "online",
|
|
||||||
},
|
|
||||||
Proxy: &ProxyConfig{
|
|
||||||
Host: "jd.timerzz.com",
|
|
||||||
Port: "8090",
|
|
||||||
User: "timerzz",
|
|
||||||
Pass: "zhhg1997",
|
|
||||||
},
|
|
||||||
})
|
|
||||||
resp, err := cli.LowestPrice(626512954)
|
resp, err := cli.LowestPrice(626512954)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user