Versions in this module Expand all Collapse all v1 v1.0.0 Aug 20, 2024 Changes in this version + const RouterURL + func GetSign(clientSecret string, p map[string]string) string + func GetString(i interface{}) string + type App struct + AccessToken string + AppKey string + SecretKey string + SiteID string + SiteName string + func (app *App) JdUnionOpenActivityQuery(params map[string]interface{}) (result *JdUnionOpenActivityQueryResult, err error) + func (app *App) JdUnionOpenCategoryGoodsGet(params map[string]interface{}) (result *JdUnionOpenCategoryGoodsGetResult, err error) + func (app *App) JdUnionOpenCouponGiftGet(params map[string]interface{}) (result *JdUnionOpenCouponGiftGetResult, err error) + func (app *App) JdUnionOpenCouponGiftStop(params map[string]interface{}) (result *JdUnionOpenCouponGiftStopResult, err error) + func (app *App) JdUnionOpenGoodsBigfieldQuery(params map[string]interface{}) (result *JdUnionOpenGoodsBigfieldQueryResult, err error) + func (app *App) JdUnionOpenGoodsJingfenQuery(params map[string]interface{}) (result *JdUnionOpenGoodsQueryResult, err error) + func (app *App) JdUnionOpenGoodsMaterialQuery(params map[string]interface{}) (result *JdUnionOpenGoodsQueryResult, err error) + func (app *App) JdUnionOpenGoodsPromotiongoodsinfoQuery(params map[string]interface{}) (result *JdUnionOpenGoodsPromotiongoodsinfoQueryResult, err error) + func (app *App) JdUnionOpenGoodsQuery(params map[string]interface{}) (result *JdUnionOpenGoodsQueryResult, err error) + func (app *App) JdUnionOpenOrderQuery(params map[string]interface{}) (result *JdUnionOpenOrderQueryResult, err error) + func (app *App) JdUnionOpenOrderRowQuery(params map[string]interface{}) (result *JdUnionOpenOrderRowQueryResult, err error) + func (app *App) JdUnionOpenPromotionBysubunionidGet(params map[string]interface{}) (result *JdUnionOpenPromotionBysubunionidGetResult, err error) + func (app *App) JdUnionOpenPromotionCommonGet(params map[string]interface{}) (result *JdUnionOpenPromotionCommonGetResult, err error) + func (app *App) JdUnionOpenStatisticsGiftcouponQuery(params map[string]interface{}) (result *JdUnionOpenStatisticsGiftcouponQueryResult, err error) + func (app *App) Request(method string, param interface{}) ([]byte, error) + func (app *App) Values(params map[string]interface{}) url.Values + type BookInfo struct + Isbn string + type Cate struct + Grade int64 + ID int64 + Name string + ParentID int64 + type CategoryInfo struct + Cid1 int64 + Cid1Name string + Cid2 int64 + Cid2Name string + Cid3 int64 + Cid3Name string + type CharacteristicServiceInfo struct + ServiceName string + type CommissionInfo struct + Commission decimal.Decimal + CommissionShare decimal.Decimal + CouponCommission decimal.Decimal + EndTime int64 + IsLock int64 + PlusCommissionShare decimal.Decimal + StartTime int64 + type Coupon struct + BindType int64 + Discount decimal.Decimal + GetEndTime int64 + GetStartTime int64 + HotValue int64 + IsBest int64 + Link string + PlatformType int64 + Quota decimal.Decimal + UseEndTime int64 + UseStartTime int64 + type CouponEffectData struct + Amount decimal.Decimal + ContentMatch int + CostAmount decimal.Decimal + CostNum int + CouponTitle string + Denomination decimal.Decimal + EffectiveDays int + ExpireType int + GiftCouponKey string + ReceiveEndTime string + ReceiveNum int + ReceiveStartTime string + Share int + ShowStatus int + SkuIdList []int + Status int + Type int + UseEndTime string + UseStartTime string + YgCommission decimal.Decimal + type CouponEffectDataResp struct + GiftCouponEffectDataResp *CouponEffectData + type CouponGift struct + GiftCouponKey string + type CouponInfo struct + CouponList []Coupon + type DocumentInfo struct + Discount string + Document string + type ErrorResponse struct + Code string + Msg string + type Goods struct + BookInfo BookInfo + BrandCode string + BrandName string + CategoryInfo CategoryInfo + Comments int64 + CommissionInfo CommissionInfo + CouponInfo CouponInfo + DeliveryType int64 + DocumentInfo DocumentInfo + ForbidTypes []int64 + GoodCommentsShare decimal.Decimal + ImageInfo ImageInfo + InOrderCount30Days int64 + InOrderCount30DaysSku int64 + IsHot int64 + JxFlags []int64 + MaterialURL string + Owner string + PinGouInfo PinGouInfo + PriceInfo PriceInfo + PromotionLabelInfoList []PromotionLabelInfo + ResourceInfo ResourceInfo + SeckillInfo SeckillInfo + SecondPriceInfoList []SecondPriceInfo + ShopInfo ShopInfo + SkuID int64 + SkuLabelInfo SkuLabelInfo + SkuName string + Spuid int64 + VideoInfo VideoInfo + type GoodsInfo struct + Cid int64 + Cid2 int64 + Cid2Name string + Cid3 int64 + Cid3Name string + CidName string + CommisionRatioPC float64 + CommisionRatioWl float64 + EndDate int64 + GoodsName string + ImgURL string + InOrderCount int64 + IsFreeFreightRisk int64 + IsFreeShipping int64 + IsJdSale int64 + IsSeckill int64 + MaterialURL string + ShopID int64 + SkuID int64 + StartDate int64 + UnitPrice float64 + Vid int64 + WlUnitPrice float64 + type ImageInfo struct + ImageList []ImageList + type ImageList struct + URL string + type JdUnionErrResp struct + ErrorResponse ErrorResponse + type JdUnionOpenActivityQueryCate struct + CategoryID int + Type int + type JdUnionOpenActivityQueryData struct + ActStatus int + Advantage string + CategoryList []*JdUnionOpenActivityQueryCate + Content string + DownloadCode string + DownloadUrl string + EndTime int + ID int + ImgList []*JdUnionOpenActivityQueryImage + PlatformType int + StartTime int + Tag string + Title string + UpdateTime int + UrlM string + UrlPC string + type JdUnionOpenActivityQueryImage struct + ImgName string + ImgUrl string + WidthHeight string + type JdUnionOpenActivityQueryResponse struct + Code string + Result string + type JdUnionOpenActivityQueryResult struct + Code int64 + Data []*JdUnionOpenActivityQueryData + Message string + RequestID string + TotalCount int + type JdUnionOpenActivityQueryTopLevel struct + JdUnionOpenActivityQueryResponse JdUnionOpenActivityQueryResponse + type JdUnionOpenCategoryGoodsGetResponse struct + Code string + Result string + type JdUnionOpenCategoryGoodsGetResult struct + Code int64 + Data []Cate + Message string + RequestID string + type JdUnionOpenCategoryGoodsGetTopLevel struct + JdUnionOpenCategoryGoodsGetResponse JdUnionOpenCategoryGoodsGetResponse + type JdUnionOpenCouponGiftGetResponse struct + Code string + Result string + type JdUnionOpenCouponGiftGetResult struct + Code int64 + Data *CouponGift + Message string + RequestID string + type JdUnionOpenCouponGiftGetTopLevel struct + JdUnionOpenCouponGiftGetResponse JdUnionOpenCouponGiftGetResponse + type JdUnionOpenCouponGiftStopResponse struct + Code string + Result string + type JdUnionOpenCouponGiftStopResult struct + Code int64 + Message string + RequestID string + type JdUnionOpenCouponGiftStopTopLevel struct + JdUnionOpenCouponGiftStopResponse JdUnionOpenCouponGiftStopResponse + type JdUnionOpenGoodsBigfieldQueryResponse struct + Code string + Result string + type JdUnionOpenGoodsBigfieldQueryResult struct + Code int64 + Data []interface{} + Message string + RequestID string + type JdUnionOpenGoodsBigfieldQueryTopLevel struct + JdUnionOpenGoodsBigfieldQueryResponse JdUnionOpenGoodsBigfieldQueryResponse + type JdUnionOpenGoodsJingfenQueryResponse struct + Code string + Result string + type JdUnionOpenGoodsJingfenQueryTopLevel struct + JdUnionOpenGoodsJingfenQueryResponse JdUnionOpenGoodsJingfenQueryResponse + type JdUnionOpenGoodsMaterialQueryResponse struct + Code string + Result string + type JdUnionOpenGoodsMaterialQueryTopLevel struct + JdUnionOpenGoodsMaterialQueryResponse JdUnionOpenGoodsMaterialQueryResponse + type JdUnionOpenGoodsPromotiongoodsinfoQueryResponse struct + Code string + Result string + type JdUnionOpenGoodsPromotiongoodsinfoQueryResult struct + Code int64 + Data []GoodsInfo + Message string + RequestID string + type JdUnionOpenGoodsPromotiongoodsinfoQueryTopLevel struct + JdUnionOpenGoodsPromotiongoodsinfoQueryResponse JdUnionOpenGoodsPromotiongoodsinfoQueryResponse + type JdUnionOpenGoodsQueryResponse struct + Code string + Result string + type JdUnionOpenGoodsQueryResponseTopLevel struct + JdUnionOpenGoodsQueryResponse JdUnionOpenGoodsQueryResponse + type JdUnionOpenGoodsQueryResult struct + Code int64 + Data []Goods + Message string + RequestID string + TotalCount int64 + type JdUnionOpenOrderQueryResponse struct + Code string + Result string + type JdUnionOpenOrderQueryResponseTopLevel struct + JdUnionOpenOrderQueryResponse JdUnionOpenOrderQueryResponse + type JdUnionOpenOrderQueryResult struct + Code int64 + Data []Order + HasMore bool + Message string + RequestID string + type JdUnionOpenOrderRowQueryResponse struct + Code string + Result string + type JdUnionOpenOrderRowQueryResponseTopLevel struct + JdUnionOpenOrderRowQueryResponse JdUnionOpenOrderRowQueryResponse + type JdUnionOpenOrderRowQueryResult struct + Code int64 + Data []*OrderRow + HasMore bool + Message string + RequestID string + type JdUnionOpenPromotionBysubunionidGetResponse struct + Code string + Result string + type JdUnionOpenPromotionBysubunionidGetResult struct + Code int64 + Data PromotionUrl + Message string + RequestID string + type JdUnionOpenPromotionBysubunionidGetTopLevel struct + JdUnionOpenPromotionBysubunionidGetResponse JdUnionOpenPromotionBysubunionidGetResponse + type JdUnionOpenPromotionCommonGetResponse struct + Code string + Result string + type JdUnionOpenPromotionCommonGetResult struct + Code int64 + Data PromotionCommonURL + Message string + RequestID string + type JdUnionOpenPromotionCommonGetTopLevel struct + JdUnionOpenPromotionCommonGetResponse JdUnionOpenPromotionCommonGetResponse + type JdUnionOpenStatisticsGiftcouponQueryResponse struct + Code string + Result string + type JdUnionOpenStatisticsGiftcouponQueryResult struct + Code int64 + Data []*CouponEffectData + Message string + RequestID string + type JdUnionOpenStatisticsGiftcouponQueryTopLevel struct + JdUnionOpenStatisticsGiftcouponQueryResponse JdUnionOpenStatisticsGiftcouponQueryResponse + type Order struct + Ext1 string + FinishTime int64 + OrderEmt int64 + OrderID int64 + OrderTime int64 + ParentID int64 + PayMonth int64 + Plus int64 + PopID int64 + SkuList []SkuList + UnionID int64 + ValidCode int64 + type OrderRow struct + ActualCosPrice decimal.Decimal + ActualFee decimal.Decimal + BalanceExt string + Cid1 int + Cid2 int + Cid3 int + CommissionRate decimal.Decimal + CpActID int + EstimateCosPrice decimal.Decimal + EstimateFee decimal.Decimal + ExpressStatus int + Ext1 string + FinalRate decimal.Decimal + FinishTime string + GiftCouponKey string + GiftCouponOcsAmount decimal.Decimal + GoodsInfo *OrderRowGoodsInfo + ID string + ModifyTime string + OrderEmt int + OrderID int + OrderTime string + ParentID int + PayMonth int + Pid string + Plus int + PopId int + PositionId int + Price decimal.Decimal + ProPriceAmount decimal.Decimal + Rid int + SiteId int + SkuFrozenNum int + SkuId int + SkuName string + SkuNum int + SkuReturnNum int + SubSideRate decimal.Decimal + SubSidyRate decimal.Decimal + SubUnionID string + TraceType int + UnionAlias string + UnionId int + UnionRole int + UnionTag string + ValidCode int + type OrderRowGoodsInfo struct + ImageUrl string + MainSkuId int + Owner string + ProductId int + ShopId int + ShopName string + type PinGouInfo struct + PingouEndTime int64 + PingouPrice decimal.Decimal + PingouStartTime int64 + PingouTmCount int64 + PingouURL string + type PingGouInfo struct + PingouPrice decimal.Decimal + PingouTmCount int64 + PingouURL string + type PriceInfo struct + HistoryPriceDay int64 + LowestCouponPrice decimal.Decimal + LowestPrice decimal.Decimal + LowestPriceType int64 + Price decimal.Decimal + type PromotionCommonURL struct + ClickURL string + type PromotionLabelInfo struct + EndTime int64 + LabelName string + PromotionLabel string + PromotionLabelId int64 + StartTime int64 + type PromotionUrl struct + ClickURL string + ShortURL string + type ResourceInfo struct + EliteId int64 + EliteName string + type SeckillInfo struct + SeckillEndTime int64 + SeckillOriPrice decimal.Decimal + SeckillPrice decimal.Decimal + SeckillStartTime int64 + type SecondPriceInfo struct + SecondPrice decimal.Decimal + SecondPriceType string + type ShopInfo struct + AfsFactorScoreRankGrade string + AfterServiceScore string + CommentFactorScoreRankGrade string + LogisticsFactorScoreRankGrade string + LogisticsLvyueScore string + ScoreRankRate string + ShopID int64 + ShopLabel string + ShopLevel decimal.Decimal + ShopName string + UserEvaluateScore string + type SkuLabelInfo struct + Fxg int64 + FxgServiceList []CharacteristicServiceInfo + Is7ToReturn int64 + type SkuList struct + ActualCosPrice float64 + ActualFee float64 + Cid1 int64 + Cid2 int64 + Cid3 int64 + CommissionRate float64 + EstimateCosPrice float64 + EstimateFee float64 + Ext1 string + FinalRate float64 + FrozenSkuNum int64 + PID string + PayMonth int64 + PopID int64 + PositionID int64 + Price float64 + SiteID int64 + SkuID int64 + SkuName string + SkuNum int64 + SkuReturnNum int64 + SubSideRate float64 + SubUnionID string + SubsidyRate float64 + TraceType int64 + UnionAlias string + UnionTag string + UnionTrafficGroup int64 + ValidCode int64 + type Video struct + Duration int64 + High int64 + ImageUrl string + PlayType string + PlayUrl string + VideoType int64 + Width int64 + type VideoInfo struct + VideoList []Video