master
李光春 3 years ago
parent 0b78d0f88f
commit eef8d7fdbd

@ -0,0 +1 @@
app_test.go

@ -0,0 +1 @@
pinduoduo_test.go

@ -1,23 +0,0 @@
package pinduoduo
import (
"fmt"
"github.com/dtapps/go-library/service/pinduoduo/type"
"testing"
)
func TestName(t *testing.T) {
duo := PinDuoDuo{
ClientId: "",
ClientSecret: "",
}
param := Parameter{
"keyword": "小米",
}
send, err := duo.Send(_type.GoodsSearch, param)
fmt.Printf("send%v\n", send)
if err != nil {
t.Errorf("错误:%v", err)
return
}
}

@ -0,0 +1,3 @@
apiclient_cert.pem
apiclient_key.pem
app_test.go
Loading…
Cancel
Save