vender

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoGetRequest

type InfoGetRequest struct {
	api.BaseRequest
}

type InfoGetResponse

type InfoGetResponse struct {
	ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
	Data      *InfoGetSubResponse `json:"jingdong_seller_vender_info_get_responce,omitempty" codec:"jingdong_seller_vender_info_get_responce,omitempty"`
}

func (InfoGetResponse) Error added in v1.1.1

func (r InfoGetResponse) Error() string

func (InfoGetResponse) IsError added in v1.1.1

func (r InfoGetResponse) IsError() bool

type InfoGetSubResponse

type InfoGetSubResponse struct {
	Code       string      `json:"code,omitempty" codec:"code,omitempty"`
	ErrorDesc  string      `json:"error_description,omitempty" codec:"error_description,omitempty"`
	VenderInfo *VenderInfo `json:"vender_info_result,omitempty" codec:"vender_info_result,omitempty"`
}

func (InfoGetSubResponse) Error added in v1.1.1

func (r InfoGetSubResponse) Error() string

func (InfoGetSubResponse) IsError added in v1.1.1

func (r InfoGetSubResponse) IsError() bool

type VenderInfo

type VenderInfo struct {
	VenderId uint64 `json:"vender_id,omitempty" codec:"vender_id,omitempty"`         // 商家编号
	ShopId   uint64 `json:"shop_id,omitempty" codec:"shop_id,omitempty"`             // 商家类型: 0:SOP 1:FBP 2:LBP 5:SOPL
	ShopName string `json:"shop_name,omitempty" codec:"shop_name,omitempty"`         // 店铺编号
	ColType  uint8  `json:"col_type" codec:"col_type"`                               // 商家类型: 0:SOP 1:FBP 2:LBP 5:SOPL
	CateMain int    `json:"category_main,omitempty" codec:"category_main,omitempty"` // 主营类目编号
}

func InfoGet

func InfoGet(req *InfoGetRequest) (*VenderInfo, error)

店铺信息查询

Jump to

Keyboard shortcuts

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