京东联盟SDK
部分接口为为高级接口,需要联盟企业账号发送邮件申请
需要在jd.union_test.go中填入自己的appKey,appSecret
go test -v *.go
package main
import (
"github.com/irebit/jingdong_union_go"
"log"
)
var app = &jingdong_union_go.App{
ID: "xxxxxx",
Key: "xxxxxx",
Secret: "xxxxxx",
}
res, err := app.JdUnionOpenCategoryGoodsGet(map[string]interface{}{
"parentId": 0,
"grade": 0,
})
log.Println(res, err)