address_getAreasByProvince_response

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressGetAreasByProvinceData

type AddressGetAreasByProvinceData struct {
	// 响应结果
	Data []DataItem `json:"data"`
}

type AddressGetAreasByProvinceResponse

type AddressGetAreasByProvinceResponse struct {
	doudian_sdk.BaseDoudianOpApiResponse
	Data *AddressGetAreasByProvinceData `json:"data"`
}

type DataItem

type DataItem struct {
	// 省ID
	Code int64 `json:"code"`
	// 父ID
	FatherCode int64 `json:"father_code"`
	// 省名称
	Name string `json:"name"`
	// 地址等级
	Level string `json:"level"`
	// 响应结果
	SubDistricts []SubDistrictsItem_3 `json:"sub_districts"`
}

type SubDistrictsItem

type SubDistrictsItem struct {
	// 镇或者街道ID
	Code int64 `json:"code"`
	// 父ID
	FatherCode int64 `json:"father_code"`
	// 地址等级
	Level string `json:"level"`
	// 镇或者街道名称
	Name string `json:"name"`
}

type SubDistrictsItem_3

type SubDistrictsItem_3 struct {
	// 市ID
	Code int64 `json:"code"`
	// 父ID
	FatherCode int64 `json:"father_code"`
	// 市名
	Name string `json:"name"`
	// 地址等级
	Level string `json:"level"`
	// 响应结果
	SubDistricts []SubDistrictsItem_4 `json:"sub_districts"`
}

type SubDistrictsItem_4

type SubDistrictsItem_4 struct {
	// 区县ID
	Code int64 `json:"code"`
	// 父ID
	FatherCode int64 `json:"father_code"`
	// 区县名称
	Name string `json:"name"`
	// 地址等级
	Level string `json:"level"`
	// 响应结果
	SubDistricts []SubDistrictsItem `json:"sub_districts"`
}

Jump to

Keyboard shortcuts

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