Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreasCityGetResponse ¶
type AreasCityGetResponse struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` AreasServiceResponse *BaseAreasServiceResponse `json:"baseAreaServiceResponse,omitempty" codec:"baseAreaServiceResponse,omitempty"` }
type AreasCountyGetResponse ¶
type AreasCountyGetResponse struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` AreasServiceResponse *BaseAreasServiceResponse `json:"baseAreaServiceResponse,omitempty" codec:"baseAreaServiceResponse,omitempty"` }
type AreasProvinceGetResponse ¶
type AreasProvinceGetResponse struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` AreasServiceResponse *BaseAreasServiceResponse `json:"baseAreaServiceResponse,omitempty" codec:"baseAreaServiceResponse,omitempty"` }
type BaseAreasServiceResponse ¶
type BaseAreasServiceResponse struct {
Data []*Result `json:"data,omitempty" codec:"data,omitempty"`
}
type CityGetRequest ¶
type CityGetRequest struct { api.BaseRequest ParentId uint64 }
type CityGetResponse ¶
type CityGetResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` AreasCityGetResponse *AreasCityGetResponse `json:"jingdong_areas_city_get_responce,omitempty" codec:"jingdong_areas_city_get_responce,omitempty"` }
type CountyGetRequest ¶
type CountyGetRequest struct { api.BaseRequest ParentId uint64 }
type CountyGetResponse ¶
type CountyGetResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` AreasCountyGetResponse *AreasCountyGetResponse `json:"jingdong_areas_county_get_responce,omitempty" codec:"jingdong_areas_county_get_responce,omitempty"` }
type ProvinceGetRequest ¶
type ProvinceGetRequest struct {
api.BaseRequest
}
type ProvinceGetResponse ¶
type ProvinceGetResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` AreasProvinceGetResponse *AreasProvinceGetResponse `json:"jingdong_areas_province_get_responce,omitempty" codec:"jingdong_areas_province_get_responce,omitempty"` }
type Result ¶
type Result struct { ParentId uint64 `json:"parentId" codec:"parentId"` Level uint8 `json:"level" codec:"level"` AreaName string `json:"areaName" codec:"areaName"` Status int8 `json:"status" codec:"status"` AreaId uint64 `json:"areaId" codec:"areaId"` }
func CityGet ¶
func CityGet(req *CityGetRequest) ([]*Result, error)
func CountyGet ¶
func CountyGet(req *CountyGetRequest) ([]*Result, error)
func ProvinceGet ¶
func ProvinceGet(req *ProvinceGetRequest) ([]*Result, error)
Click to show internal directories.
Click to hide internal directories.