Documentation ¶
Overview ¶
阿信-基础数据 model
Index ¶
- type PoiDetaiVo
- type PoiVo
- type TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest
- func (r TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetPoiId() int64
- func (r *TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) SetPoiId(_poiId int64) error
- type TaobaoAlitripTravelAxinPoiDetailQueryAPIResponse
- type TaobaoAlitripTravelAxinPoiDetailQueryAPIResponseModel
- type TaobaoAlitripTravelAxinPoiDetailQueryResult
- type TaobaoAlitripTravelAxinPoiSearchAPIRequest
- func (r TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetApiParams() url.Values
- func (r TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetKeyWord() string
- func (r *TaobaoAlitripTravelAxinPoiSearchAPIRequest) SetKeyWord(_keyWord string) error
- type TaobaoAlitripTravelAxinPoiSearchAPIResponse
- type TaobaoAlitripTravelAxinPoiSearchAPIResponseModel
- type TaobaoAlitripTravelAxinPoiSearchResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoiDetaiVo ¶
type PoiDetaiVo struct { // poi描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 国家名称 CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"` // 国家id CountryId string `json:"country_id,omitempty" xml:"country_id,omitempty"` // 省份 ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"` // 省份id ProvinceId string `json:"province_id,omitempty" xml:"province_id,omitempty"` // 城市 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 城市id CityId string `json:"city_id,omitempty" xml:"city_id,omitempty"` // poi英文名称 PoiNameEn string `json:"poi_name_en,omitempty" xml:"poi_name_en,omitempty"` // poi名称 PoiName string `json:"poi_name,omitempty" xml:"poi_name,omitempty"` // poiId PoiId int64 `json:"poi_id,omitempty" xml:"poi_id,omitempty"` }
PoiDetaiVo 结构体
type PoiVo ¶
type PoiVo struct { // poiId PoiId int64 `json:"poi_id,omitempty" xml:"poi_id,omitempty"` // poi英文名 PoiNameEn string `json:"poi_name_en,omitempty" xml:"poi_name_en,omitempty"` // poi名称 PoiName string `json:"poi_name,omitempty" xml:"poi_name,omitempty"` // 城市名称 CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"` // 城市id CityId string `json:"city_id,omitempty" xml:"city_id,omitempty"` // 国家名称 CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"` // 国家id CountryId string `json:"country_id,omitempty" xml:"country_id,omitempty"` // 省份名称 ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"` // 省份id ProvinceId string `json:"province_id,omitempty" xml:"province_id,omitempty"` }
PoiVo 结构体
type TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest ¶ added in v1.2.0
type TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest
景点poi详情查询-阿信 API请求 taobao.alitrip.travel.axin.poi.detail.query
景点poi详情查询-阿信
func NewTaobaoAlitripTravelAxinPoiDetailQueryRequest ¶
func NewTaobaoAlitripTravelAxinPoiDetailQueryRequest() *TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest
NewTaobaoAlitripTravelAxinPoiDetailQueryRequest 初始化TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest对象
func (TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetPoiId ¶ added in v1.2.0
func (r TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) GetPoiId() int64
Get PoiId Getter
func (*TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) SetPoiId ¶ added in v1.2.0
func (r *TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest) SetPoiId(_poiId int64) error
Set is PoiId Setter poiId
type TaobaoAlitripTravelAxinPoiDetailQueryAPIResponse ¶
type TaobaoAlitripTravelAxinPoiDetailQueryAPIResponse struct { model.CommonResponse TaobaoAlitripTravelAxinPoiDetailQueryAPIResponseModel }
TaobaoAlitripTravelAxinPoiDetailQueryAPIResponse
景点poi详情查询-阿信 API返回值 taobao.alitrip.travel.axin.poi.detail.query
景点poi详情查询-阿信
type TaobaoAlitripTravelAxinPoiDetailQueryAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripTravelAxinPoiDetailQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_axin_poi_detail_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoAlitripTravelAxinPoiDetailQueryResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoAlitripTravelAxinPoiDetailQueryAPIResponseModel is 景点poi详情查询-阿信 成功返回结果
type TaobaoAlitripTravelAxinPoiDetailQueryResult ¶
type TaobaoAlitripTravelAxinPoiDetailQueryResult struct { // poi详情 Data *PoiDetaiVo `json:"data,omitempty" xml:"data,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoAlitripTravelAxinPoiDetailQueryResult 结构体
type TaobaoAlitripTravelAxinPoiSearchAPIRequest ¶ added in v1.2.0
type TaobaoAlitripTravelAxinPoiSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelAxinPoiSearchAPIRequest
景点poi搜索-阿信 API请求 taobao.alitrip.travel.axin.poi.search
给阿信提供景点poi搜索
func NewTaobaoAlitripTravelAxinPoiSearchRequest ¶
func NewTaobaoAlitripTravelAxinPoiSearchRequest() *TaobaoAlitripTravelAxinPoiSearchAPIRequest
NewTaobaoAlitripTravelAxinPoiSearchRequest 初始化TaobaoAlitripTravelAxinPoiSearchAPIRequest对象
func (TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetKeyWord ¶ added in v1.2.0
func (r TaobaoAlitripTravelAxinPoiSearchAPIRequest) GetKeyWord() string
Get KeyWord Getter
func (*TaobaoAlitripTravelAxinPoiSearchAPIRequest) SetKeyWord ¶ added in v1.2.0
func (r *TaobaoAlitripTravelAxinPoiSearchAPIRequest) SetKeyWord(_keyWord string) error
Set is KeyWord Setter 搜索关键词
type TaobaoAlitripTravelAxinPoiSearchAPIResponse ¶
type TaobaoAlitripTravelAxinPoiSearchAPIResponse struct { model.CommonResponse TaobaoAlitripTravelAxinPoiSearchAPIResponseModel }
TaobaoAlitripTravelAxinPoiSearchAPIResponse
景点poi搜索-阿信 API返回值 taobao.alitrip.travel.axin.poi.search
给阿信提供景点poi搜索
type TaobaoAlitripTravelAxinPoiSearchAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripTravelAxinPoiSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_axin_poi_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *TaobaoAlitripTravelAxinPoiSearchResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoAlitripTravelAxinPoiSearchAPIResponseModel is 景点poi搜索-阿信 成功返回结果
type TaobaoAlitripTravelAxinPoiSearchResult ¶
type TaobaoAlitripTravelAxinPoiSearchResult struct { // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 列表 DataList []PoiVo `json:"data_list,omitempty" xml:"data_list>poi_vo,omitempty"` }
TaobaoAlitripTravelAxinPoiSearchResult 结构体
Source Files ¶
- PoiDetaiVo.go
- PoiVo.go
- TaobaoAlitripTravelAxinPoiDetailQueryAPIRequest.go
- TaobaoAlitripTravelAxinPoiDetailQueryAPIResponse.go
- TaobaoAlitripTravelAxinPoiDetailQueryResult.go
- TaobaoAlitripTravelAxinPoiSearchAPIRequest.go
- TaobaoAlitripTravelAxinPoiSearchAPIResponse.go
- TaobaoAlitripTravelAxinPoiSearchResult.go
- doc.go