goods

package
v0.0.0-...-15c5cf9 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package goods implements the use case for JD goods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Goods

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

Goods .

func NewGoods

func NewGoods(ctx context.Context, c *config.Config) (*Goods, error)

NewGoods implements the use case for JD goods.

func (*Goods) GetConfig

func (s *Goods) GetConfig() *config.Config

GetConfig .

func (*Goods) NewJFGoodsReq

func (s *Goods) NewJFGoodsReq(eliteID config.EliteID, pageIndex, pageSize uint, sortName, sort, pid, fields string) *entity.JFGoodsReq

NewJFGoodsReq 创建商品查询请求

func (*Goods) NewUnionOpenGoodsJingFenQueryRequest

func (s *Goods) NewUnionOpenGoodsJingFenQueryRequest(goodsReq *entity.JFGoodsReq) *entity.UnionOpenGoodsJingFenQueryRequest

NewUnionOpenGoodsJingFenQueryRequest 创建京粉精选商品查询接口请求

func (*Goods) QueryCate

QueryCate query category

func (*Goods) QueryGoods

QueryGoods jingfen goods query 京粉商品查询

func (*Goods) QueryGoodsDetail

QueryGoodsDetail goods detail query 京粉商品详情查询

func (*Goods) QueryMaterialGoods

QueryMaterialGoods goods.material.query 猜你喜欢商品推荐

Jump to

Keyboard shortcuts

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