Documentation ¶
Index ¶
- type App
- func (app *App) CommissionIntegralToInt64(GoodsPrice, CouponProportion int64) int64
- func (app *App) CouponAmountToInt64(Commission float64) int64
- func (app *App) CouponProportionToInt64(CommissionShare float64) int64
- func (app *App) GoodsOriginalPriceToInt64(Price float64) int64
- func (app *App) GoodsPriceToInt64(LowestCouponPrice float64) int64
- func (app *App) Sign(p Params)
- func (app *App) UnionOpenActivityQuery(notMustParams ...Params) *UnionOpenActivityQueryResult
- func (app *App) UnionOpenCategoryGoodsGet(notMustParams ...Params) *UnionOpenCategoryGoodsGetResult
- func (app *App) UnionOpenGoodsBigfieldQuery(notMustParams ...Params) *UnionOpenGoodsBigfieldQueryResult
- func (app *App) UnionOpenGoodsJIngFenQuery(notMustParams ...Params) *UnionOpenGoodsJIngFenQueryResult
- func (app *App) UnionOpenGoodsMaterialQuery(notMustParams ...Params) *UnionOpenGoodsMaterialQueryResult
- func (app *App) UnionOpenGoodsPromotionGoodsInfoQuery(notMustParams ...Params) *UnionOpenGoodsPromotionGoodsInfoQueryResult
- func (app *App) UnionOpenOrderQuery(notMustParams ...Params) *UnionOpenOrderQueryResult
- func (app *App) UnionOpenOrderRowQuery(notMustParams ...Params) *UnionOpenOrderRowQueryResult
- func (app *App) UnionOpenPromotionBySubUnionIdGet(notMustParams ...Params) *UnionOpenPromotionBySubUnionIdGetResult
- func (app *App) UnionOpenPromotionCommonGet(notMustParams ...Params) *UnionOpenPromotionCommonGetResult
- type Params
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { AppKey string // 应用Key SecretKey string // 密钥 SiteId string // 网站ID/APP ID PositionId string // 推广位id Mongo gomongo.App // 日志数据库 }
func (*App) CommissionIntegralToInt64 ¶
CommissionIntegralToInt64 佣金积分
func (*App) CouponAmountToInt64 ¶
CouponAmountToInt64 优惠券金额
func (*App) CouponProportionToInt64 ¶
CouponProportionToInt64 佣金比率
func (*App) GoodsOriginalPriceToInt64 ¶
GoodsOriginalPriceToInt64 商品原价
func (*App) GoodsPriceToInt64 ¶
GoodsPriceToInt64 商品券后价
func (*App) UnionOpenActivityQuery ¶
func (app *App) UnionOpenActivityQuery(notMustParams ...Params) *UnionOpenActivityQueryResult
UnionOpenActivityQuery 活动查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.activity.query
func (*App) UnionOpenCategoryGoodsGet ¶
func (app *App) UnionOpenCategoryGoodsGet(notMustParams ...Params) *UnionOpenCategoryGoodsGetResult
UnionOpenCategoryGoodsGet 商品类目查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.category.goods.get
func (*App) UnionOpenGoodsBigfieldQuery ¶
func (app *App) UnionOpenGoodsBigfieldQuery(notMustParams ...Params) *UnionOpenGoodsBigfieldQueryResult
UnionOpenGoodsBigfieldQuery 商品详情查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.bigfield.query
func (*App) UnionOpenGoodsJIngFenQuery ¶
func (app *App) UnionOpenGoodsJIngFenQuery(notMustParams ...Params) *UnionOpenGoodsJIngFenQueryResult
UnionOpenGoodsJIngFenQuery 京粉精选商品查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.jingfen.query
func (*App) UnionOpenGoodsMaterialQuery ¶
func (app *App) UnionOpenGoodsMaterialQuery(notMustParams ...Params) *UnionOpenGoodsMaterialQueryResult
UnionOpenGoodsMaterialQuery 猜你喜欢商品推荐 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.material.query
func (*App) UnionOpenGoodsPromotionGoodsInfoQuery ¶
func (app *App) UnionOpenGoodsPromotionGoodsInfoQuery(notMustParams ...Params) *UnionOpenGoodsPromotionGoodsInfoQueryResult
UnionOpenGoodsPromotionGoodsInfoQuery 根据skuid查询商品信息接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.goods.promotiongoodsinfo.query
func (*App) UnionOpenOrderQuery ¶
func (app *App) UnionOpenOrderQuery(notMustParams ...Params) *UnionOpenOrderQueryResult
UnionOpenOrderQuery 订单查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.order.query
func (*App) UnionOpenOrderRowQuery ¶
func (app *App) UnionOpenOrderRowQuery(notMustParams ...Params) *UnionOpenOrderRowQueryResult
UnionOpenOrderRowQuery 订单行查询接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.order.row.query
func (*App) UnionOpenPromotionBySubUnionIdGet ¶
func (app *App) UnionOpenPromotionBySubUnionIdGet(notMustParams ...Params) *UnionOpenPromotionBySubUnionIdGetResult
UnionOpenPromotionBySubUnionIdGet 社交媒体获取推广链接接口【申请】 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.promotion.bysubunionid.get
func (*App) UnionOpenPromotionCommonGet ¶
func (app *App) UnionOpenPromotionCommonGet(notMustParams ...Params) *UnionOpenPromotionCommonGetResult
UnionOpenPromotionCommonGet 网站/APP获取推广链接接口 https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.promotion.common.get
type Params ¶
type Params map[string]interface{}
Params 请求参数
func NewParamsWith ¶
func NewParamsWithType ¶
func (Params) SetCustomParameters ¶
type UnionOpenActivityQueryQueryResult ¶
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 ¶
type UnionOpenActivityQueryResult struct { Responce UnionOpenActivityQueryResultResponse // 结果 Result UnionOpenActivityQueryQueryResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenActivityQueryResult ¶
func NewUnionOpenActivityQueryResult(responce UnionOpenActivityQueryResultResponse, result UnionOpenActivityQueryQueryResult, body []byte, err error) *UnionOpenActivityQueryResult
type UnionOpenCategoryGoodsGetQueryResult ¶
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 ¶
type UnionOpenCategoryGoodsGetResult struct { Responce UnionOpenCategoryGoodsGetResultResponse // 结果 Result UnionOpenCategoryGoodsGetQueryResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenCategoryGoodsGetResult ¶
func NewUnionOpenCategoryGoodsGetResult(responce UnionOpenCategoryGoodsGetResultResponse, result UnionOpenCategoryGoodsGetQueryResult, body []byte, err error) *UnionOpenCategoryGoodsGetResult
type UnionOpenGoodsBigfieldQueryQueryResult ¶
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 ¶
type UnionOpenGoodsBigfieldQueryResult struct { Responce UnionOpenGoodsBigfieldQueryResultResponse // 结果 Result UnionOpenGoodsBigfieldQueryQueryResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenGoodsBigfieldQueryResult ¶
func NewUnionOpenGoodsBigfieldQueryResult(responce UnionOpenGoodsBigfieldQueryResultResponse, result UnionOpenGoodsBigfieldQueryQueryResult, body []byte, err error) *UnionOpenGoodsBigfieldQueryResult
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 // 内容 Err error // 错误 }
func NewUnionOpenGoodsJIngFenQueryResult ¶
func NewUnionOpenGoodsJIngFenQueryResult(responce UnionOpenGoodsJIngFenQueryResultResponse, result UnionOpenGoodsJIngFenQueryQueryResult, body []byte, err error) *UnionOpenGoodsJIngFenQueryResult
type UnionOpenGoodsMaterialQueryQueryResult ¶
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 ¶
type UnionOpenGoodsMaterialQueryResult struct { Responce UnionOpenGoodsMaterialQueryResultResponse // 结果 Result UnionOpenGoodsMaterialQueryQueryResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenGoodsMaterialQueryResult ¶
func NewUnionOpenGoodsMaterialQueryResult(responce UnionOpenGoodsMaterialQueryResultResponse, result UnionOpenGoodsMaterialQueryQueryResult, body []byte, err error) *UnionOpenGoodsMaterialQueryResult
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 // 内容 Err error // 错误 }
func NewUnionOpenGoodsPromotionGoodsInfoQueryResult ¶
func NewUnionOpenGoodsPromotionGoodsInfoQueryResult(responce UnionOpenGoodsPromotionGoodsInfoQueryResultResponse, result UnionOpenGoodsPromotionGoodsInfoQueryQueryResult, body []byte, err error) *UnionOpenGoodsPromotionGoodsInfoQueryResult
type UnionOpenOrderQueryQueryResult ¶
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 ¶
type UnionOpenOrderQueryResult struct { Responce UnionOpenOrderQueryResultResponse // 结果 Result UnionOpenOrderQueryQueryResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenOrderQueryResult ¶
func NewUnionOpenOrderQueryResult(responce UnionOpenOrderQueryResultResponse, result UnionOpenOrderQueryQueryResult, body []byte, err error) *UnionOpenOrderQueryResult
type UnionOpenOrderRowQueryQueryResult ¶
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 ¶
type UnionOpenOrderRowQueryResult struct { Responce UnionOpenOrderRowQueryResultResponse // 结果 Result UnionOpenOrderRowQueryQueryResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenOrderRowQueryResult ¶
func NewUnionOpenOrderRowQueryResult(responce UnionOpenOrderRowQueryResultResponse, result UnionOpenOrderRowQueryQueryResult, body []byte, err error) *UnionOpenOrderRowQueryResult
type UnionOpenPromotionBySubUnionIdGetResult ¶
type UnionOpenPromotionBySubUnionIdGetResult struct { Responce UnionOpenPromotionBySubUnionIdGetResultResponse // 结果 Result UnionOpenPromotionBySubUnionIdGetGetResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenPromotionBySubUnionIdGetResult ¶
func NewUnionOpenPromotionBySubUnionIdGetResult(responce UnionOpenPromotionBySubUnionIdGetResultResponse, result UnionOpenPromotionBySubUnionIdGetGetResult, body []byte, err error) *UnionOpenPromotionBySubUnionIdGetResult
type UnionOpenPromotionCommonGetResult ¶
type UnionOpenPromotionCommonGetResult struct { Responce UnionOpenPromotionCommonGetResultResponse // 结果 Result UnionOpenPromotionCommonGetGetResult // 结果 Body []byte // 内容 Err error // 错误 }
func NewUnionOpenPromotionCommonGetResult ¶
func NewUnionOpenPromotionCommonGetResult(responce UnionOpenPromotionCommonGetResultResponse, result UnionOpenPromotionCommonGetGetResult, body []byte, err error) *UnionOpenPromotionCommonGetResult
Source Files ¶
- app.go
- crypto.go
- jd.union.open.activity.query.go
- jd.union.open.category.goods.get.go
- jd.union.open.coupon.gift.get.go
- jd.union.open.coupon.gift.stop.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
- jd.union.open.selling.goods.query.go
- jd.union.open.selling.order.row.query.go
- jd.union.open.selling.promotion.get.go
- jd.union.open.statistics.giftcoupon.query.go
- jd.union.open.statistics.redpacket.query.go
- mongodb.go
- params.go