response

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllCategoryInfo

type AllCategoryInfo struct {
	Categories []*Category `json:"categories"`
}

type Category

type Category struct {
	ID            int      `json:"id"`
	Name          string   `json:"name"`
	Level         int      `json:"level"`
	Children      []int    `json:"children"`
	Father        int      `json:"father,omitempty"`
	Qualify       *Qualify `json:"qualify,omitempty"`
	Scene         int      `json:"scene,omitempty"`
	SensitiveType int      `json:"sensitive_type,omitempty"`
}

type CreateStore

type CreateStore struct {
	AuditID int `json:"audit_id"`
}

type CreateStoreFromMap

type CreateStoreFromMap struct {
	BaseID int `json:"base_id"`
	RichID int `json:"rich_id"`
}

type DataPIO

type DataPIO struct {
	Item []interface{} `json:"item"`
}

type Exter

type Exter struct {
	InnerList []*Inner `json:"inner_list"`
}

type Inner

type Inner struct {
	Name string `json:"name"`
}

type Location

type Location struct {
	Lat float64 `json:"lat"`
	Lng float64 `json:"lng"`
}

type Qualify

type Qualify struct {
	ExterList []*Exter `json:"exter_list"`
}

type ResponseStoreCategory

type ResponseStoreCategory struct {
	*response.ResponseOfficialAccount

	Data Store `json:"data"`
}

type ResponseStoreCreate

type ResponseStoreCreate struct {
	*response.ResponseOfficialAccount

	Data CreateStore `json:"data"`
}

type ResponseStoreCreateFromMap

type ResponseStoreCreateFromMap struct {
	*response.ResponseOfficialAccount

	Error interface{}        `json:"error"`
	Data  CreateStoreFromMap `json:"data"`
}

type ResponseStoreDistrict

type ResponseStoreDistrict struct {
	*response.ResponseOfficialAccount

	Status      int         `json:"status"`
	Message     string      `json:"message"`
	DataVersion string      `json:"data_version"`
	Result      [][]*Result `json:"result"`
}

type ResponseStoreGetStatus

type ResponseStoreGetStatus struct {
	*response.ResponseOfficialAccount

	FirstCatID        int    `json:"first_catid"`
	SecondCatID       int    `json:"second_catid"`
	QualificationList string `json:"qualification_list"`
	HeadImgMediaID    string `json:"headimg_mediaid"`
	NickName          string `json:"nickname"`
	Intro             string `json:"intro"`
	OrgCode           string `json:"org_code"`
	OtherFiles        string `json:"other_files"`
}

type ResponseStoreInfo

type ResponseStoreInfo struct {
	*response.ResponseOfficialAccount

	Business response2.Business `json:"business"`
}

type ResponseStoreList

type ResponseStoreList struct {
	*response.ResponseOfficialAccount

	BusinessList []*response2.Business `json:"business_list"`
	TotalCount   int                   `json:"total_count"`
}

type ResponseStoreSearchMapPIO

type ResponseStoreSearchMapPIO struct {
	*response.ResponseOfficialAccount

	Data *DataPIO `json:"data"`
}

type ResponseStoreUpdate

type ResponseStoreUpdate struct {
	*response.ResponseOfficialAccount

	Data UpdateStore `json:"data"`
}

type Result

type Result struct {
	ID       string    `json:"id"`
	Name     string    `json:"name,omitempty"`
	FullName string    `json:"fullname"`
	PinYin   []string  `json:"pinyin,omitempty"`
	Location *Location `json:"location"`
	CIDX     []int     `json:"cidx,omitempty"`
}

type Store

type Store struct {
	AllCategoryInfo *AllCategoryInfo `json:"all_category_info"`
}

type UpdateStore

type UpdateStore struct {
	HasAuditId int `json:"has_audit_id"`
	AuditId    int `json:"audit_id"`
}

Jump to

Keyboard shortcuts

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