union_jd_sdk

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodQueryJingfenGoods            = "jd.union.open.goods.jingfen.query"            // 京粉精选商品查询接口
	MethodQueryGoods                   = "jd.union.open.goods.query"                    // 关键词商品查询接口【申请】
	MethodQueryPromotiongoodsinfoGoods = "jd.union.open.goods.promotiongoodsinfo.query" // 根据skuid查询商品信息接口
	MethodQuerySeckillGoods            = "jd.union.open.goods.seckill.query"            // 秒杀商品查询接口【申请】
	MethodQueryStupriceGoods           = "jd.union.open.goods.stuprice.query"           // 学生价商品查询接口【申请】
	MethodGetGoodsCategory             = "jd.union.open.category.goods.get"             // 商品类目查询接口
	MethodQueryBigfieldGoods           = "jd.union.open.goods.bigfield.query"           // 商品详情查询接口【申请】
	MethodQueryCoupon                  = "jd.union.open.coupon.query"                   // 优惠券领取情况查询接口【申请】
	MethodGetCommonPromotion           = "jd.union.open.promotion.common.get"           // 网站/APP获取推广链接接口
	MethodBysubunionidPromotion        = "jd.union.open.promotion.bysubunionid.get"     // 社交媒体获取推广链接接口【申请】
	MethodByunionidPromotion           = "jd.union.open.promotion.byunionid.get"        // 工具商获取推广链接接口【申请】
	MethodQueryOrder                   = "jd.union.open.order.query"                    // 订单查询接口
	MethodBonusOrder                   = "jd.union.open.order.bonus.query"              // 奖励订单查询接口【申请】
	MethodQueryBonus                   = "jd.union.open.order.row.query"                // 订单行查询接口
	MethodQueryPositon                 = "jd.union.open.position.query"                 // 查询推广位【申请】
	MethodCreatePosition               = "jd.union.open.position.create"                // 创建推广位【申请】
	MethodGetPidUser                   = "jd.union.open.user.pid.get"                   // 查询推广位【申请】
)
View Source
const ServerUrl = "https://api.jd.com/routerjson"

Variables

This section is empty.

Functions

This section is empty.

Types

type JdClient

type JdClient struct {
	// contains filtered or unexported fields
}

func NewJdClient

func NewJdClient(accessToken, appKey, appSecret string) *JdClient

func (*JdClient) Execute

func (c *JdClient) Execute(req common.Request) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL