Documentation ¶
Index ¶
- Constants
- func NewParamsWithType(_method string, params ...gorequest.Params) gorequest.Params
- func SetCustomParameters(p gorequest.Params, uid string, sid string) gorequest.Params
- type Client
- func (c *Client) ConfigSLogClientFun(apiSLogFun golog.ApiSLogFun)
- func (c *Client) DefaultHttp()
- func (c *Client) GetAppKey() string
- func (c *Client) GetPositionId() string
- func (c *Client) GetSecretKey() string
- func (c *Client) GetSiteId() string
- func (c *Client) Post(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)
- func (c *Client) SetHttp(app *gorequest.App)
- func (c *Client) Sign(p gorequest.Params)
- func (c *Client) UnionOpenActivityQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenActivityQueryResult, error)
- func (c *Client) UnionOpenCategoryGoodsGet(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenCategoryGoodsGetResult, error)
- func (c *Client) UnionOpenGoodsBigfieldQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsBigfieldQueryResult, error)
- func (c *Client) UnionOpenGoodsJIngFenQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsJIngFenQueryResult, error)
- func (c *Client) UnionOpenGoodsMaterialQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsMaterialQueryResult, error)
- func (c *Client) UnionOpenGoodsPromotionGoodsInfoQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsPromotionGoodsInfoQueryResult, error)
- func (c *Client) UnionOpenOrderQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenOrderQueryResult, error)
- func (c *Client) UnionOpenOrderRowQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenOrderRowQueryResult, error)
- func (c *Client) UnionOpenPromotionBySubUnionIdGet(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenPromotionBySubUnionIdGetResult, error)
- func (c *Client) UnionOpenPromotionCommonGet(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenPromotionCommonGetResult, error)
- type ClientConfig
- type UnionOpenActivityQueryQueryResult
- type UnionOpenActivityQueryResult
- type UnionOpenActivityQueryResultResponse
- type UnionOpenCategoryGoodsGetQueryResult
- type UnionOpenCategoryGoodsGetResult
- type UnionOpenCategoryGoodsGetResultResponse
- type UnionOpenGoodsBigfieldQueryQueryResult
- type UnionOpenGoodsBigfieldQueryResult
- type UnionOpenGoodsBigfieldQueryResultResponse
- type UnionOpenGoodsJIngFenQueryQueryResult
- type UnionOpenGoodsJIngFenQueryResult
- type UnionOpenGoodsJIngFenQueryResultResponse
- type UnionOpenGoodsMaterialQueryQueryResult
- type UnionOpenGoodsMaterialQueryResult
- type UnionOpenGoodsMaterialQueryResultResponse
- type UnionOpenGoodsPromotionGoodsInfoQueryQueryResult
- type UnionOpenGoodsPromotionGoodsInfoQueryResult
- type UnionOpenGoodsPromotionGoodsInfoQueryResultResponse
- type UnionOpenOrderQueryQueryResult
- type UnionOpenOrderQueryResult
- type UnionOpenOrderQueryResultResponse
- type UnionOpenOrderRowQueryQueryResult
- type UnionOpenOrderRowQueryResult
- type UnionOpenOrderRowQueryResultResponse
- type UnionOpenPromotionBySubUnionIdGetGetResult
- type UnionOpenPromotionBySubUnionIdGetResult
- type UnionOpenPromotionBySubUnionIdGetResultResponse
- type UnionOpenPromotionCommonGetGetResult
- type UnionOpenPromotionCommonGetResult
- type UnionOpenPromotionCommonGetResultResponse
Constants ¶
const (
LogTable = "jd"
)
Variables ¶
This section is empty.
Functions ¶
func NewParamsWithType ¶
Types ¶
type Client ¶ added in v1.0.47
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func NewClient ¶ added in v1.0.47
func NewClient(config *ClientConfig) (*Client, error)
NewClient 创建实例化
func (*Client) ConfigSLogClientFun ¶ added in v1.0.162
func (c *Client) ConfigSLogClientFun(apiSLogFun golog.ApiSLogFun)
ConfigSLogClientFun 日志配置
func (*Client) GetPositionId ¶ added in v1.0.47
GetPositionId 推广位id
func (*Client) GetSecretKey ¶ added in v1.0.47
GetSecretKey 密钥
func (*Client) UnionOpenActivityQuery ¶ added in v1.0.47
func (c *Client) UnionOpenActivityQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenActivityQueryResult, error)
UnionOpenActivityQuery 活动查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.activity.query
func (*Client) UnionOpenCategoryGoodsGet ¶ added in v1.0.47
func (c *Client) UnionOpenCategoryGoodsGet(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenCategoryGoodsGetResult, error)
UnionOpenCategoryGoodsGet 商品类目查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.category.goods.get
func (*Client) UnionOpenGoodsBigfieldQuery ¶ added in v1.0.47
func (c *Client) UnionOpenGoodsBigfieldQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsBigfieldQueryResult, error)
UnionOpenGoodsBigfieldQuery 商品详情查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.bigfield.query
func (*Client) UnionOpenGoodsJIngFenQuery ¶ added in v1.0.47
func (c *Client) UnionOpenGoodsJIngFenQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsJIngFenQueryResult, error)
UnionOpenGoodsJIngFenQuery 京粉精选商品查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.jingfen.query
func (*Client) UnionOpenGoodsMaterialQuery ¶ added in v1.0.47
func (c *Client) UnionOpenGoodsMaterialQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsMaterialQueryResult, error)
UnionOpenGoodsMaterialQuery 猜你喜欢商品推荐 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.material.query
func (*Client) UnionOpenGoodsPromotionGoodsInfoQuery ¶ added in v1.0.47
func (c *Client) UnionOpenGoodsPromotionGoodsInfoQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenGoodsPromotionGoodsInfoQueryResult, error)
UnionOpenGoodsPromotionGoodsInfoQuery 根据skuid查询商品信息接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.promotiongoodsinfo.query
func (*Client) UnionOpenOrderQuery ¶ added in v1.0.47
func (c *Client) UnionOpenOrderQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenOrderQueryResult, error)
UnionOpenOrderQuery 订单查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.order.query
func (*Client) UnionOpenOrderRowQuery ¶ added in v1.0.47
func (c *Client) UnionOpenOrderRowQuery(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenOrderRowQueryResult, error)
UnionOpenOrderRowQuery 订单行查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.order.row.query
func (*Client) UnionOpenPromotionBySubUnionIdGet ¶ added in v1.0.47
func (c *Client) UnionOpenPromotionBySubUnionIdGet(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenPromotionBySubUnionIdGetResult, error)
UnionOpenPromotionBySubUnionIdGet 社交媒体获取推广链接接口【申请】 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.promotion.bysubunionid.get
func (*Client) UnionOpenPromotionCommonGet ¶ added in v1.0.47
func (c *Client) UnionOpenPromotionCommonGet(ctx context.Context, notMustParams ...gorequest.Params) (*UnionOpenPromotionCommonGetResult, error)
UnionOpenPromotionCommonGet 网站/APP获取推广链接接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.promotion.common.get
type ClientConfig ¶ added in v1.0.52
type ClientConfig struct { AppKey string // 应用Key SecretKey string // 密钥 SiteId string // 网站ID/APP ID PositionId string // 推广位id }
ClientConfig 实例配置
type UnionOpenActivityQueryQueryResult ¶ added in v1.0.44
type UnionOpenActivityQueryQueryResult struct { Code int `json:"code"` Data []struct { ActStatus int `json:"actStatus"` Advantage string `json:"advantage"` CategoryList []struct { CategoryId int `json:"categoryId"` Type int `json:"type"` } `json:"categoryList,omitempty"` Content string `json:"content"` DownloadCode string `json:"downloadCode"` DownloadUrl string `json:"downloadUrl"` EndTime int64 `json:"endTime"` Id int `json:"id"` ImgList []struct { ImgName string `json:"imgName"` ImgUrl string `json:"imgUrl"` WidthHeight string `json:"widthHeight"` } `json:"imgList,omitempty"` PlatformType int `json:"platformType"` PromotionEndTime int64 `json:"promotionEndTime,omitempty"` PromotionStartTime int64 `json:"promotionStartTime,omitempty"` Recommend int `json:"recommend,omitempty"` StartTime int64 `json:"startTime"` Tag string `json:"tag"` Title string `json:"title"` UpdateTime int64 `json:"updateTime"` UrlM string `json:"urlM"` UrlPC string `json:"urlPC"` } `json:"data"` Message string `json:"message"` RequestId string `json:"requestId"` TotalCount int `json:"totalCount"` }
type UnionOpenActivityQueryResult ¶ added in v1.0.44
type UnionOpenActivityQueryResult struct { Responce UnionOpenActivityQueryResultResponse // 结果 Result UnionOpenActivityQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenActivityQueryResultResponse ¶ added in v1.0.44
type UnionOpenCategoryGoodsGetQueryResult ¶ added in v1.0.44
type UnionOpenCategoryGoodsGetQueryResult struct { Code int `json:"code"` Data []struct { Grade int `json:"grade"` // 类目级别(类目级别 0,1,2 代表一、二、三级类目) Name string `json:"name"` // 类目名称 Id int `json:"id"` // 类目Id ParentId int `json:"parentId"` // 父类目Id } `json:"data"` Message string `json:"message"` RequestId string `json:"requestId"` }
type UnionOpenCategoryGoodsGetResult ¶ added in v1.0.44
type UnionOpenCategoryGoodsGetResult struct { Responce UnionOpenCategoryGoodsGetResultResponse // 结果 Result UnionOpenCategoryGoodsGetQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenCategoryGoodsGetResultResponse ¶ added in v1.0.44
type UnionOpenGoodsBigfieldQueryQueryResult ¶ added in v1.0.44
type UnionOpenGoodsBigfieldQueryQueryResult struct { Code int `json:"code"` Data []struct { BaseBigFieldInfo struct { WareQD string `json:"wareQD"` Wdis string `json:"wdis"` } `json:"baseBigFieldInfo"` CategoryInfo struct { Cid1 int `json:"cid1"` Cid1Name string `json:"cid1Name"` Cid2 int `json:"cid2"` Cid2Name string `json:"cid2Name"` Cid3 int `json:"cid3"` Cid3Name string `json:"cid3Name"` } `json:"categoryInfo"` DetailImages string `json:"detailImages"` ImageInfo struct { ImageList []struct { Url string `json:"url"` } `json:"imageList"` } `json:"imageInfo"` MainSkuId int64 `json:"mainSkuId"` Owner string `json:"owner"` ProductId int64 `json:"productId"` SkuId int64 `json:"skuId"` SkuName string `json:"skuName"` SkuStatus int `json:"skuStatus"` } `json:"data"` Message string `json:"message"` RequestId string `json:"requestId"` }
type UnionOpenGoodsBigfieldQueryResult ¶ added in v1.0.44
type UnionOpenGoodsBigfieldQueryResult struct { Responce UnionOpenGoodsBigfieldQueryResultResponse // 结果 Result UnionOpenGoodsBigfieldQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenGoodsBigfieldQueryResultResponse ¶ added in v1.0.44
type UnionOpenGoodsJIngFenQueryQueryResult ¶
type UnionOpenGoodsJIngFenQueryQueryResult struct { Code int `json:"code"` Data []struct { BrandCode string `json:"brandCode"` BrandName string `json:"brandName"` CategoryInfo struct { Cid1 int64 `json:"cid1"` Cid1Name string `json:"cid1Name"` Cid2 int `json:"cid2"` Cid2Name string `json:"cid2Name"` Cid3 int `json:"cid3"` Cid3Name string `json:"cid3Name"` } `json:"categoryInfo"` Comments int `json:"comments"` CommissionInfo struct { Commission float64 `json:"commission"` CommissionShare float64 `json:"commissionShare"` CouponCommission float64 `json:"couponCommission"` EndTime int64 `json:"endTime"` IsLock int `json:"isLock"` PlusCommissionShare float64 `json:"plusCommissionShare"` StartTime int64 `json:"startTime"` } `json:"commissionInfo"` CouponInfo struct { CouponList []struct { BindType int `json:"bindType"` Discount float64 `json:"discount"` GetEndTime int64 `json:"getEndTime"` GetStartTime int64 `json:"getStartTime"` HotValue int `json:"hotValue,omitempty"` IsBest int `json:"isBest"` Link string `json:"link"` PlatformType int `json:"platformType"` Quota float64 `json:"quota"` UseEndTime int64 `json:"useEndTime"` UseStartTime int64 `json:"useStartTime"` } `json:"couponList"` } `json:"couponInfo"` DeliveryType int `json:"deliveryType"` ForbidTypes []int `json:"forbidTypes"` GoodCommentsShare float64 `json:"goodCommentsShare"` ImageInfo struct { ImageList []struct { Url string `json:"url"` } `json:"imageList"` WhiteImage string `json:"whiteImage,omitempty"` } `json:"imageInfo"` InOrderCount30Days int64 `json:"inOrderCount30Days"` InOrderCount30DaysSku int `json:"inOrderCount30DaysSku"` IsHot int `json:"isHot"` JxFlags []int `json:"jxFlags,omitempty"` MaterialUrl string `json:"materialUrl"` Owner string `json:"owner"` PinGouInfo struct { PingouEndTime int64 `json:"pingouEndTime,omitempty"` PingouPrice float64 `json:"pingouPrice,omitempty"` PingouStartTime int64 `json:"pingouStartTime,omitempty"` PingouTmCount int `json:"pingouTmCount,omitempty"` PingouUrl string `json:"pingouUrl,omitempty"` } `json:"pinGouInfo"` PriceInfo struct { HistoryPriceDay int `json:"historyPriceDay"` LowestCouponPrice float64 `json:"lowestCouponPrice"` LowestPrice float64 `json:"lowestPrice"` LowestPriceType int `json:"lowestPriceType"` Price float64 `json:"price"` } `json:"priceInfo"` ResourceInfo struct { EliteId int `json:"eliteId"` EliteName string `json:"eliteName"` } `json:"resourceInfo"` ShopInfo struct { ShopId int64 `json:"shopId"` ShopLabel string `json:"shopLabel"` ShopLevel float64 `json:"shopLevel"` ShopName string `json:"shopName"` AfsFactorScoreRankGrade string `json:"afsFactorScoreRankGrade,omitempty"` AfterServiceScore string `json:"afterServiceScore,omitempty"` CommentFactorScoreRankGrade string `json:"commentFactorScoreRankGrade,omitempty"` LogisticsFactorScoreRankGrade string `json:"logisticsFactorScoreRankGrade,omitempty"` LogisticsLvyueScore string `json:"logisticsLvyueScore,omitempty"` ScoreRankRate string `json:"scoreRankRate,omitempty"` UserEvaluateScore string `json:"userEvaluateScore,omitempty"` } `json:"shopInfo"` SkuId int64 `json:"skuId"` SkuLabelInfo struct { FxgServiceList []interface{} `json:"fxgServiceList"` Is7ToReturn int `json:"is7ToReturn"` } `json:"skuLabelInfo"` SkuName string `json:"skuName"` Spuid int64 `json:"spuid"` } `json:"data"` Message string `json:"message"` TotalCount int64 `json:"totalCount"` }
type UnionOpenGoodsJIngFenQueryResult ¶
type UnionOpenGoodsJIngFenQueryResult struct { Responce UnionOpenGoodsJIngFenQueryResultResponse // 结果 Result UnionOpenGoodsJIngFenQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenGoodsJIngFenQueryResultResponse ¶ added in v1.0.44
type UnionOpenGoodsMaterialQueryQueryResult ¶ added in v1.0.44
type UnionOpenGoodsMaterialQueryQueryResult struct { Code int `json:"code"` Data []struct { BrandCode string `json:"brandCode"` BrandName string `json:"brandName"` CategoryInfo struct { Cid1 int `json:"cid1"` Cid1Name string `json:"cid1Name"` Cid2 int `json:"cid2"` Cid2Name string `json:"cid2Name"` Cid3 int `json:"cid3"` Cid3Name string `json:"cid3Name"` } `json:"categoryInfo"` Comments int `json:"comments"` CommissionInfo struct { Commission float64 `json:"commission"` CommissionShare float64 `json:"commissionShare"` CouponCommission float64 `json:"couponCommission"` PlusCommissionShare float64 `json:"plusCommissionShare"` } `json:"commissionInfo"` CouponInfo struct { CouponList []struct { BindType int `json:"bindType"` Discount float64 `json:"discount"` GetEndTime int64 `json:"getEndTime"` GetStartTime int64 `json:"getStartTime"` IsBest int `json:"isBest"` Link string `json:"link"` PlatformType int `json:"platformType"` Quota float64 `json:"quota"` UseEndTime int64 `json:"useEndTime"` UseStartTime int64 `json:"useStartTime"` } `json:"couponList"` } `json:"couponInfo"` DeliveryType int `json:"deliveryType"` ForbidTypes []int `json:"forbidTypes"` GoodCommentsShare float64 `json:"goodCommentsShare"` ImageInfo struct { ImageList []struct { Url string `json:"url"` } `json:"imageList"` WhiteImage string `json:"whiteImage,omitempty"` } `json:"imageInfo"` InOrderCount30Days int `json:"inOrderCount30Days"` InOrderCount30DaysSku int `json:"inOrderCount30DaysSku"` IsHot int `json:"isHot"` JxFlags []int `json:"jxFlags,omitempty"` MaterialUrl string `json:"materialUrl"` Owner string `json:"owner"` PinGouInfo struct { PingouEndTime int64 `json:"pingouEndTime,omitempty"` PingouPrice float64 `json:"pingouPrice,omitempty"` PingouStartTime int64 `json:"pingouStartTime,omitempty"` PingouTmCount int `json:"pingouTmCount,omitempty"` PingouUrl string `json:"pingouUrl,omitempty"` } `json:"pinGouInfo"` PriceInfo struct { LowestCouponPrice float64 `json:"lowestCouponPrice"` LowestPrice float64 `json:"lowestPrice"` LowestPriceType int `json:"lowestPriceType"` Price float64 `json:"price"` } `json:"priceInfo"` PromotionInfo struct { ClickURL string `json:"clickURL"` } `json:"promotionInfo"` ResourceInfo struct { EliteId int `json:"eliteId"` EliteName string `json:"eliteName"` } `json:"resourceInfo"` ShopInfo struct { ShopId int `json:"shopId"` ShopLabel string `json:"shopLabel"` ShopLevel float64 `json:"shopLevel"` ShopName string `json:"shopName"` AfsFactorScoreRankGrade string `json:"afsFactorScoreRankGrade,omitempty"` AfterServiceScore string `json:"afterServiceScore,omitempty"` CommentFactorScoreRankGrade string `json:"commentFactorScoreRankGrade,omitempty"` LogisticsFactorScoreRankGrade string `json:"logisticsFactorScoreRankGrade,omitempty"` LogisticsLvyueScore string `json:"logisticsLvyueScore,omitempty"` ScoreRankRate string `json:"scoreRankRate,omitempty"` UserEvaluateScore string `json:"userEvaluateScore,omitempty"` } `json:"shopInfo"` SkuId int64 `json:"skuId"` SkuName string `json:"skuName"` Spuid int64 `json:"spuid"` VideoInfo struct { } `json:"videoInfo"` } `json:"data"` Message string `json:"message"` RequestId string `json:"requestId"` TotalCount int `json:"totalCount"` }
type UnionOpenGoodsMaterialQueryResult ¶ added in v1.0.44
type UnionOpenGoodsMaterialQueryResult struct { Responce UnionOpenGoodsMaterialQueryResultResponse // 结果 Result UnionOpenGoodsMaterialQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenGoodsMaterialQueryResultResponse ¶ added in v1.0.44
type UnionOpenGoodsPromotionGoodsInfoQueryQueryResult ¶
type UnionOpenGoodsPromotionGoodsInfoQueryQueryResult struct { Code int `json:"code"` Data []struct { UnitPrice float64 `json:"unitPrice"` MaterialUrl string `json:"materialUrl"` EndDate int64 `json:"endDate"` IsFreeFreightRisk int `json:"isFreeFreightRisk"` IsFreeShipping int `json:"isFreeShipping"` CommisionRatioWl float64 `json:"commisionRatioWl"` CommisionRatioPc float64 `json:"commisionRatioPc"` ImgUrl string `json:"imgUrl"` Vid int `json:"vid"` CidName string `json:"cidName"` WlUnitPrice float64 `json:"wlUnitPrice"` Cid2Name string `json:"cid2Name"` IsSeckill int `json:"isSeckill"` Cid2 int `json:"cid2"` Cid3Name string `json:"cid3Name"` Unt int `json:"unt"` Cid3 int `json:"cid3"` ShopId int `json:"shopId"` IsJdSale int `json:"isJdSale"` GoodsName string `json:"goodsName"` SkuId int64 `json:"skuId"` StartDate int64 `json:"startDate"` Cid int64 `json:"cid"` } `json:"data"` Message string `json:"message"` RequestId string `json:"requestId"` }
type UnionOpenGoodsPromotionGoodsInfoQueryResult ¶
type UnionOpenGoodsPromotionGoodsInfoQueryResult struct { Responce UnionOpenGoodsPromotionGoodsInfoQueryResultResponse // 结果 Result UnionOpenGoodsPromotionGoodsInfoQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenGoodsPromotionGoodsInfoQueryResultResponse ¶ added in v1.0.44
type UnionOpenOrderQueryQueryResult ¶ added in v1.0.44
type UnionOpenOrderQueryQueryResult struct { Code int `json:"code"` Data []struct { Ext1 string `json:"ext1"` FinishTime int64 `json:"finishTime"` OrderEmt int `json:"orderEmt"` OrderId int64 `json:"orderId"` OrderTime int64 `json:"orderTime"` ParentId int `json:"parentId"` PayMonth int `json:"payMonth"` Plus int `json:"plus"` PopId int `json:"popId"` SkuList []struct { ActualCosPrice float64 `json:"actualCosPrice"` ActualFee float64 `json:"actualFee"` Cid1 int `json:"cid1"` Cid2 int `json:"cid2"` Cid3 int `json:"cid3"` CommissionRate float64 `json:"commissionRate"` CpActId int `json:"cpActId"` EstimateCosPrice float64 `json:"estimateCosPrice"` EstimateFee float64 `json:"estimateFee"` Ext1 string `json:"ext1"` FinalRate float64 `json:"finalRate"` FrozenSkuNum int `json:"frozenSkuNum"` GiftCouponKey string `json:"giftCouponKey"` GiftCouponOcsAmount float64 `json:"giftCouponOcsAmount"` PayMonth int `json:"payMonth"` Pid string `json:"pid"` PopId int `json:"popId"` PositionId int `json:"positionId"` Price float64 `json:"price"` ProPriceAmount float64 `json:"proPriceAmount"` SiteId int `json:"siteId"` SkuId int64 `json:"skuId"` SkuName string `json:"skuName"` SkuNum int `json:"skuNum"` SkuReturnNum int `json:"skuReturnNum"` SubSideRate float64 `json:"subSideRate"` SubUnionId string `json:"subUnionId"` SubsidyRate float64 `json:"subsidyRate"` TraceType int `json:"traceType"` UnionAlias string `json:"unionAlias"` UnionRole int `json:"unionRole"` UnionTag string `json:"unionTag"` UnionTrafficGroup int `json:"unionTrafficGroup"` ValidCode int `json:"validCode"` } `json:"skuList"` UnionId int `json:"unionId"` ValidCode int `json:"validCode"` } `json:"data"` HasMore bool `json:"hasMore"` Message string `json:"message"` RequestId string `json:"requestId"` }
type UnionOpenOrderQueryResult ¶ added in v1.0.44
type UnionOpenOrderQueryResult struct { Responce UnionOpenOrderQueryResultResponse // 结果 Result UnionOpenOrderQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenOrderQueryResultResponse ¶ added in v1.0.44
type UnionOpenOrderRowQueryQueryResult ¶ added in v1.0.44
type UnionOpenOrderRowQueryQueryResult struct { Code int `json:"code"` Data []struct { ActualCosPrice float64 `json:"actualCosPrice"` ActualFee float64 `json:"actualFee"` BalanceExt string `json:"balanceExt"` CategoryInfo struct { Cid1 int `json:"cid1"` Cid2 int `json:"cid2"` Cid3 int `json:"cid3"` } `json:"categoryInfo"` ChannelId int `json:"channelId"` Cid1 int `json:"cid1"` Cid2 int `json:"cid2"` Cid3 int `json:"cid3"` CommissionRate float64 `json:"commissionRate"` CpActId int `json:"cpActId"` EstimateCosPrice float64 `json:"estimateCosPrice"` EstimateFee float64 `json:"estimateFee"` ExpressStatus int `json:"expressStatus"` Ext1 string `json:"ext1"` FinalRate float64 `json:"finalRate"` FinishTime string `json:"finishTime"` GiftCouponKey string `json:"giftCouponKey"` GiftCouponOcsAmount float64 `json:"giftCouponOcsAmount"` GoodsInfo struct { MainSkuId int `json:"mainSkuId"` ProductId int `json:"productId"` ShopId int `json:"shopId"` } `json:"goodsInfo"` Id string `json:"id"` ModifyTime string `json:"modifyTime"` OrderEmt int `json:"orderEmt"` OrderId int64 `json:"orderId"` OrderTime string `json:"orderTime"` ParentId int `json:"parentId"` PayMonth int `json:"payMonth"` Pid string `json:"pid"` Plus int `json:"plus"` PopId int `json:"popId"` PositionId int `json:"positionId"` Price float64 `json:"price"` ProPriceAmount float64 `json:"proPriceAmount"` Rid int `json:"rid"` SiteId int `json:"siteId"` SkuFrozenNum int `json:"skuFrozenNum"` SkuId int64 `json:"skuId"` SkuName string `json:"skuName"` SkuNum int `json:"skuNum"` SkuReturnNum int `json:"skuReturnNum"` SubSideRate float64 `json:"subSideRate"` SubUnionId string `json:"subUnionId"` SubsidyRate float64 `json:"subsidyRate"` TraceType int `json:"traceType"` UnionAlias string `json:"unionAlias"` UnionId int `json:"unionId"` UnionRole int `json:"unionRole"` UnionTag string `json:"unionTag"` ValidCode int `json:"validCode"` } `json:"data"` HasMore bool `json:"hasMore"` Message string `json:"message"` RequestId string `json:"requestId"` }
type UnionOpenOrderRowQueryResult ¶ added in v1.0.44
type UnionOpenOrderRowQueryResult struct { Responce UnionOpenOrderRowQueryResultResponse // 结果 Result UnionOpenOrderRowQueryQueryResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenOrderRowQueryResultResponse ¶ added in v1.0.44
type UnionOpenPromotionBySubUnionIdGetGetResult ¶ added in v1.0.44
type UnionOpenPromotionBySubUnionIdGetResult ¶ added in v1.0.44
type UnionOpenPromotionBySubUnionIdGetResult struct { Responce UnionOpenPromotionBySubUnionIdGetResultResponse // 结果 Result UnionOpenPromotionBySubUnionIdGetGetResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenPromotionBySubUnionIdGetResultResponse ¶ added in v1.0.44
type UnionOpenPromotionCommonGetResult ¶
type UnionOpenPromotionCommonGetResult struct { Responce UnionOpenPromotionCommonGetResultResponse // 结果 Result UnionOpenPromotionCommonGetGetResult // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UnionOpenPromotionCommonGetResultResponse ¶ added in v1.0.44
Source Files ¶
- api.go
- client.go
- config.go
- const.go
- crypto.go
- get.go
- jd.union.open.activity.query.go
- jd.union.open.category.goods.get.go
- jd.union.open.goods.bigfield.query.go
- jd.union.open.goods.jingfen.query.go
- jd.union.open.goods.material.query.go
- jd.union.open.goods.promotiongoodsinfo.query.go
- jd.union.open.order.query.go
- jd.union.open.order.row.query.go
- jd.union.open.promotion.bysubunionid.get.go
- jd.union.open.promotion.common.get.go
- params.go
- request.go