alibabaalscunionkbitemstoredetailget

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.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 BasicInfo

type BasicInfo struct {
	StoreID        string         `json:"store_id"`
	Name           string         `json:"name"`
	Cover          string         `json:"cover"`
	Mobiles        Mobiles        `json:"mobiles"`
	Business       Business       `json:"business"`
	Location       Location       `json:"location"`
	Brand          Brand          `json:"brand"`
	Categories     Categories     `json:"categories"`
	Qualifications Qualifications `json:"qualifications"`
}

type Brand

type Brand struct {
	BrandID   string `json:"brand_id"`
	BrandName string `json:"brand_name"`
}

type Business

type Business struct {
	BusinessStatus int64        `json:"business_status"`
	BusinessDesc   string       `json:"business_desc"`
	BusinessTime   BusinessTime `json:"business_time"`
	Promotion      string       `json:"promotion"`
}

type BusinessTime

type BusinessTime struct {
	TimeTexts Mobiles `json:"time_texts"`
}

type Categories

type Categories struct {
	Category []Category `json:"category"`
}

type Category

type Category struct {
	CategoryID       string `json:"category_id"`
	Name             string `json:"name"`
	ParentCategoryID string `json:"parent_category_id"`
}

type Data

type Data struct {
	BasicInfo  BasicInfo  `json:"basic_info"`
	Statistics Statistics `json:"statistics"`
}

type ImageContent

type ImageContent struct {
	Title string  `json:"title"`
	Desc  string  `json:"desc"`
	Urls  Mobiles `json:"urls"`
}

type Location

type Location struct {
	Address     string `json:"address"`
	AddressMemo string `json:"address_memo"`
	Region      Region `json:"region"`
	Longitude   string `json:"longitude"`
	Latitude    string `json:"latitude"`
}

type Mobiles

type Mobiles struct {
	String []string `json:"string"`
}

type Qualifications

type Qualifications struct {
	ImageContent []ImageContent `json:"image_content"`
}

type Region

type Region struct {
	ProvinceID   string `json:"province_id"`
	ProvinceName string `json:"province_name"`
	CityID       string `json:"city_id"`
	CityName     string `json:"city_name"`
	DistrictID   string `json:"district_id"`
	DistrictName string `json:"district_name"`
}

type Response

type Response struct {
	response.TopResponse
	ResultResponse ResultResponse `json:"alibaba_alsc_union_kb_item_store_detail_get_response"`
}

Response alibaba.alsc.union.kb.item.store.detail.get( 本地联盟口碑门店详情 )

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

WrapResult 解析输出结果

type ResultResponse

type ResultResponse struct {
	BizErrorDesc string `json:"biz_error_desc"`
	BizErrorCode int    `json:"biz_error_code"`
	RequestID    string `json:"request_id"`

	Data       Data   `json:"data"`
	ResultCode int64  `json:"result_code"`
	Message    string `json:"message"`
}

ResultResponse 响应结果

func (ResultResponse) Error

func (rr ResultResponse) Error() string

func (ResultResponse) IsError

func (rr ResultResponse) IsError() bool

type Statistics

type Statistics struct {
	ServiceRating string `json:"service_rating"`
	AvgPrice      string `json:"avg_price"`
}

Jump to

Keyboard shortcuts

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