response

package
v2.0.1-beta26 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Business

type Business struct {
	BaseInfo *BusinessInfo `json:"base_info"`
}

type BusinessInfo

type BusinessInfo struct {
	PoiID             string   `json:"poi_id"`
	SID               string   `json:"sid"`
	BusinessName      string   `json:"business_name"`
	BranchName        string   `json:"branch_name"`
	Province          string   `json:"province"`
	City              string   `json:"city"`
	Address           string   `json:"address"`
	Telephone         string   `json:"telephone"`
	Categories        []string `json:"categories"`
	OffsetType        int      `json:"offset_type"`
	Longitude         float64  `json:"longitude"`
	Latitude          float64  `json:"latitude"`
	PhotoList         []*Photo `json:"photo_list"`
	Recommend         string   `json:"recommend"`
	Special           string   `json:"special"`
	Introduction      string   `json:"introduction"`
	OpenTime          string   `json:"open_time"`
	AvgPrice          int      `json:"avg_price"`
	AvailableState    int      `json:"available_state"`
	UpdateStatus      int      `json:"update_status"`
	Status            int      `json:"status"`
	District          string   `json:"district"`
	QualificationNum  string   `json:"qualification_num"`
	QualificationName string   `json:"qualification_name"`
}

type Photo

type Photo struct {
	PhotoUrl string `json:"photo_url"`
}

type ResponsePOIGet

type ResponsePOIGet struct {
	*response.ResponseOfficialAccount

	Business *Business `json:"business"`
}

type ResponsePOIList

type ResponsePOIList struct {
	BaseInfo *BusinessInfo `json:"base_info"`

	BusinessList []*Business `json:"business_list"`
	TotalCount   string      `json:"total_count"`
}

Jump to

Keyboard shortcuts

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