Documentation ¶
Overview ¶
Package alitrippoi 包含飞猪POI数据API相关结构体
Index ¶
- type AlitripPlatformContentRawAddAPIRequest
- func (r AlitripPlatformContentRawAddAPIRequest) GetApiMethodName() string
- func (r AlitripPlatformContentRawAddAPIRequest) GetApiParams(params url.Values)
- func (r AlitripPlatformContentRawAddAPIRequest) GetFliggyContentRequest() *FliggyContentRequest
- func (r AlitripPlatformContentRawAddAPIRequest) GetRawParams() model.Params
- func (r *AlitripPlatformContentRawAddAPIRequest) SetFliggyContentRequest(_fliggyContentRequest *FliggyContentRequest) error
- type AlitripPlatformContentRawAddAPIResponse
- type AlitripPlatformContentRawAddAPIResponseModel
- type AlitripPlatformPoiRawFeedAPIRequest
- func (r AlitripPlatformPoiRawFeedAPIRequest) GetApiMethodName() string
- func (r AlitripPlatformPoiRawFeedAPIRequest) GetApiParams(params url.Values)
- func (r AlitripPlatformPoiRawFeedAPIRequest) GetParam0() *TripPoiRawSaveParam
- func (r AlitripPlatformPoiRawFeedAPIRequest) GetRawParams() model.Params
- func (r *AlitripPlatformPoiRawFeedAPIRequest) SetParam0(_param0 *TripPoiRawSaveParam) error
- type AlitripPlatformPoiRawFeedAPIResponse
- type AlitripPlatformPoiRawFeedAPIResponseModel
- type AlitripPlatformPoiRawFeedResult
- type AlitripPlatformPoiRawPoioutAPIRequest
- func (r AlitripPlatformPoiRawPoioutAPIRequest) GetApiMethodName() string
- func (r AlitripPlatformPoiRawPoioutAPIRequest) GetApiParams(params url.Values)
- func (r AlitripPlatformPoiRawPoioutAPIRequest) GetFliggyPoiOutParam() *FliggyPoiOutParam
- func (r AlitripPlatformPoiRawPoioutAPIRequest) GetRawParams() model.Params
- func (r *AlitripPlatformPoiRawPoioutAPIRequest) SetFliggyPoiOutParam(_fliggyPoiOutParam *FliggyPoiOutParam) error
- type AlitripPlatformPoiRawPoioutAPIResponse
- type AlitripPlatformPoiRawPoioutAPIResponseModel
- type AlitripPlatformPoiRawPoioutData
- type AlitripPlatformPoiRawPoioutResult
- type AlitripPlatformPoiRawPoioutbypoiidsAPIRequest
- func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetApiMethodName() string
- func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetApiParams(params url.Values)
- func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetFliggyPoiidParam() *FliggyPoiIdParam
- func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetRawParams() model.Params
- func (r *AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) SetFliggyPoiidParam(_fliggyPoiidParam *FliggyPoiIdParam) error
- type AlitripPlatformPoiRawPoioutbypoiidsAPIResponse
- type AlitripPlatformPoiRawPoioutbypoiidsAPIResponseModel
- type AlitripPlatformPoiRawPoioutbypoiidsData
- type AlitripPlatformPoiRawPoioutbypoiidsResult
- type AlitripPlatformPoiRawSaverawpoiAPIRequest
- func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetApiMethodName() string
- func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetApiParams(params url.Values)
- func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetRawParams() model.Params
- func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetTripPoiRawSaveParam() *TripPoiRawSaveParamV2
- func (r *AlitripPlatformPoiRawSaverawpoiAPIRequest) SetTripPoiRawSaveParam(_tripPoiRawSaveParam *TripPoiRawSaveParamV2) error
- type AlitripPlatformPoiRawSaverawpoiAPIResponse
- type AlitripPlatformPoiRawSaverawpoiAPIResponseModel
- type AlitripPlatformPoiRawSaverawpoiResult
- type BaseResult
- type FliggyContentRequest
- type FliggyPoiIdParam
- type FliggyPoiOutParam
- type StructureBrandInfo
- type StructureServiceInfo
- type TripPoiRawSaveParam
- type TripPoiRawSaveParamV2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripPlatformContentRawAddAPIRequest ¶ added in v1.2.0
type AlitripPlatformContentRawAddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripPlatformContentRawAddAPIRequest 穷游内容写入接口 API请求 alitrip.platform.content.raw.add
穷游内容写入飞猪接口
func NewAlitripPlatformContentRawAddRequest ¶
func NewAlitripPlatformContentRawAddRequest() *AlitripPlatformContentRawAddAPIRequest
NewAlitripPlatformContentRawAddRequest 初始化AlitripPlatformContentRawAddAPIRequest对象
func (AlitripPlatformContentRawAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripPlatformContentRawAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripPlatformContentRawAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripPlatformContentRawAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripPlatformContentRawAddAPIRequest) GetFliggyContentRequest ¶ added in v1.2.0
func (r AlitripPlatformContentRawAddAPIRequest) GetFliggyContentRequest() *FliggyContentRequest
GetFliggyContentRequest FliggyContentRequest Getter
func (AlitripPlatformContentRawAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripPlatformContentRawAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripPlatformContentRawAddAPIRequest) SetFliggyContentRequest ¶ added in v1.2.0
func (r *AlitripPlatformContentRawAddAPIRequest) SetFliggyContentRequest(_fliggyContentRequest *FliggyContentRequest) error
SetFliggyContentRequest is FliggyContentRequest Setter 写入入参
type AlitripPlatformContentRawAddAPIResponse ¶
type AlitripPlatformContentRawAddAPIResponse struct { model.CommonResponse AlitripPlatformContentRawAddAPIResponseModel }
AlitripPlatformContentRawAddAPIResponse 穷游内容写入接口 API返回值 alitrip.platform.content.raw.add
穷游内容写入飞猪接口
type AlitripPlatformContentRawAddAPIResponseModel ¶ added in v1.2.0
type AlitripPlatformContentRawAddAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_platform_content_raw_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回包装类 Result *BaseResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripPlatformContentRawAddAPIResponseModel is 穷游内容写入接口 成功返回结果
type AlitripPlatformPoiRawFeedAPIRequest ¶ added in v1.2.0
type AlitripPlatformPoiRawFeedAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripPlatformPoiRawFeedAPIRequest 存储poi原始数据 API请求 alitrip.platform.poi.raw.feed
对接外部数据源,外部数据推送poi数据到飞猪
func NewAlitripPlatformPoiRawFeedRequest ¶
func NewAlitripPlatformPoiRawFeedRequest() *AlitripPlatformPoiRawFeedAPIRequest
NewAlitripPlatformPoiRawFeedRequest 初始化AlitripPlatformPoiRawFeedAPIRequest对象
func (AlitripPlatformPoiRawFeedAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripPlatformPoiRawFeedAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripPlatformPoiRawFeedAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripPlatformPoiRawFeedAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripPlatformPoiRawFeedAPIRequest) GetParam0 ¶ added in v1.2.0
func (r AlitripPlatformPoiRawFeedAPIRequest) GetParam0() *TripPoiRawSaveParam
GetParam0 Param0 Getter
func (AlitripPlatformPoiRawFeedAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripPlatformPoiRawFeedAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripPlatformPoiRawFeedAPIRequest) SetParam0 ¶ added in v1.2.0
func (r *AlitripPlatformPoiRawFeedAPIRequest) SetParam0(_param0 *TripPoiRawSaveParam) error
SetParam0 is Param0 Setter poi存储参数
type AlitripPlatformPoiRawFeedAPIResponse ¶
type AlitripPlatformPoiRawFeedAPIResponse struct { model.CommonResponse AlitripPlatformPoiRawFeedAPIResponseModel }
AlitripPlatformPoiRawFeedAPIResponse 存储poi原始数据 API返回值 alitrip.platform.poi.raw.feed
对接外部数据源,外部数据推送poi数据到飞猪
type AlitripPlatformPoiRawFeedAPIResponseModel ¶ added in v1.2.0
type AlitripPlatformPoiRawFeedAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_platform_poi_raw_feed_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *AlitripPlatformPoiRawFeedResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripPlatformPoiRawFeedAPIResponseModel is 存储poi原始数据 成功返回结果
type AlitripPlatformPoiRawFeedResult ¶
type AlitripPlatformPoiRawFeedResult struct { // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 返回值 Data int64 `json:"data,omitempty" xml:"data,omitempty"` // totalRecords TotalRecords int64 `json:"total_records,omitempty" xml:"total_records,omitempty"` // 成功标识 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlitripPlatformPoiRawFeedResult 结构体
type AlitripPlatformPoiRawPoioutAPIRequest ¶ added in v1.2.0
type AlitripPlatformPoiRawPoioutAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripPlatformPoiRawPoioutAPIRequest 飞猪poi输出 API请求 alitrip.platform.poi.raw.poiout
输出指定城市poi指定信息
func NewAlitripPlatformPoiRawPoioutRequest ¶
func NewAlitripPlatformPoiRawPoioutRequest() *AlitripPlatformPoiRawPoioutAPIRequest
NewAlitripPlatformPoiRawPoioutRequest 初始化AlitripPlatformPoiRawPoioutAPIRequest对象
func (AlitripPlatformPoiRawPoioutAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripPlatformPoiRawPoioutAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripPlatformPoiRawPoioutAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripPlatformPoiRawPoioutAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripPlatformPoiRawPoioutAPIRequest) GetFliggyPoiOutParam ¶ added in v1.2.0
func (r AlitripPlatformPoiRawPoioutAPIRequest) GetFliggyPoiOutParam() *FliggyPoiOutParam
GetFliggyPoiOutParam FliggyPoiOutParam Getter
func (AlitripPlatformPoiRawPoioutAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripPlatformPoiRawPoioutAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripPlatformPoiRawPoioutAPIRequest) SetFliggyPoiOutParam ¶ added in v1.2.0
func (r *AlitripPlatformPoiRawPoioutAPIRequest) SetFliggyPoiOutParam(_fliggyPoiOutParam *FliggyPoiOutParam) error
SetFliggyPoiOutParam is FliggyPoiOutParam Setter 查询参数
type AlitripPlatformPoiRawPoioutAPIResponse ¶
type AlitripPlatformPoiRawPoioutAPIResponse struct { model.CommonResponse AlitripPlatformPoiRawPoioutAPIResponseModel }
AlitripPlatformPoiRawPoioutAPIResponse 飞猪poi输出 API返回值 alitrip.platform.poi.raw.poiout
输出指定城市poi指定信息
type AlitripPlatformPoiRawPoioutAPIResponseModel ¶ added in v1.2.0
type AlitripPlatformPoiRawPoioutAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_platform_poi_raw_poiout_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlitripPlatformPoiRawPoioutResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripPlatformPoiRawPoioutAPIResponseModel is 飞猪poi输出 成功返回结果
type AlitripPlatformPoiRawPoioutData ¶
type AlitripPlatformPoiRawPoioutData struct { // poi名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // poi英文名 NameEn string `json:"name_en,omitempty" xml:"name_en,omitempty"` // 描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 电话 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 经度 Lon string `json:"lon,omitempty" xml:"lon,omitempty"` // 纬度 Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // 开放时间 OpenTime string `json:"open_time,omitempty" xml:"open_time,omitempty"` // 行政区划树 DivisionTreeId string `json:"division_tree_id,omitempty" xml:"division_tree_id,omitempty"` // 行政区划树名 DivisionTreeName string `json:"division_tree_name,omitempty" xml:"division_tree_name,omitempty"` // 外源id SourceId string `json:"source_id,omitempty" xml:"source_id,omitempty"` // poiId PoiId int64 `json:"poi_id,omitempty" xml:"poi_id,omitempty"` // 类目 FirstCategory int64 `json:"first_category,omitempty" xml:"first_category,omitempty"` }
AlitripPlatformPoiRawPoioutData 结构体
type AlitripPlatformPoiRawPoioutResult ¶
type AlitripPlatformPoiRawPoioutResult struct { // 返回素材id Datas []AlitripPlatformPoiRawPoioutData `json:"datas,omitempty" xml:"datas>alitrip_platform_poi_raw_poiout_data,omitempty"` // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 总数(不可用) TotalRecords int64 `json:"total_records,omitempty" xml:"total_records,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlitripPlatformPoiRawPoioutResult 结构体
type AlitripPlatformPoiRawPoioutbypoiidsAPIRequest ¶ added in v1.2.0
type AlitripPlatformPoiRawPoioutbypoiidsAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripPlatformPoiRawPoioutbypoiidsAPIRequest 根据poiId输出飞猪poi数据 API请求 alitrip.platform.poi.raw.poioutbypoiids
根据poiId输出飞猪poi数据
func NewAlitripPlatformPoiRawPoioutbypoiidsRequest ¶
func NewAlitripPlatformPoiRawPoioutbypoiidsRequest() *AlitripPlatformPoiRawPoioutbypoiidsAPIRequest
NewAlitripPlatformPoiRawPoioutbypoiidsRequest 初始化AlitripPlatformPoiRawPoioutbypoiidsAPIRequest对象
func (AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetFliggyPoiidParam ¶ added in v1.2.0
func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetFliggyPoiidParam() *FliggyPoiIdParam
GetFliggyPoiidParam FliggyPoiidParam Getter
func (AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) SetFliggyPoiidParam ¶ added in v1.2.0
func (r *AlitripPlatformPoiRawPoioutbypoiidsAPIRequest) SetFliggyPoiidParam(_fliggyPoiidParam *FliggyPoiIdParam) error
SetFliggyPoiidParam is FliggyPoiidParam Setter 查询参数
type AlitripPlatformPoiRawPoioutbypoiidsAPIResponse ¶
type AlitripPlatformPoiRawPoioutbypoiidsAPIResponse struct { model.CommonResponse AlitripPlatformPoiRawPoioutbypoiidsAPIResponseModel }
AlitripPlatformPoiRawPoioutbypoiidsAPIResponse 根据poiId输出飞猪poi数据 API返回值 alitrip.platform.poi.raw.poioutbypoiids
根据poiId输出飞猪poi数据
type AlitripPlatformPoiRawPoioutbypoiidsAPIResponseModel ¶ added in v1.2.0
type AlitripPlatformPoiRawPoioutbypoiidsAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_platform_poi_raw_poioutbypoiids_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlitripPlatformPoiRawPoioutbypoiidsResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripPlatformPoiRawPoioutbypoiidsAPIResponseModel is 根据poiId输出飞猪poi数据 成功返回结果
type AlitripPlatformPoiRawPoioutbypoiidsData ¶
type AlitripPlatformPoiRawPoioutbypoiidsData struct { // poiId SourceId string `json:"source_id,omitempty" xml:"source_id,omitempty"` // 行政区划树名 DivisionTreeName string `json:"division_tree_name,omitempty" xml:"division_tree_name,omitempty"` // 行政区划树 DivisionTreeId string `json:"division_tree_id,omitempty" xml:"division_tree_id,omitempty"` // 开放时间 OpenTime string `json:"open_time,omitempty" xml:"open_time,omitempty"` // 纬度 Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // 经度 Lon string `json:"lon,omitempty" xml:"lon,omitempty"` // 电话 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // poi英文名 NameEn string `json:"name_en,omitempty" xml:"name_en,omitempty"` // poi名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 类目 FirstCategory int64 `json:"first_category,omitempty" xml:"first_category,omitempty"` // poiId PoiId int64 `json:"poi_id,omitempty" xml:"poi_id,omitempty"` }
AlitripPlatformPoiRawPoioutbypoiidsData 结构体
type AlitripPlatformPoiRawPoioutbypoiidsResult ¶
type AlitripPlatformPoiRawPoioutbypoiidsResult struct { // 返回poi详情 Datas []AlitripPlatformPoiRawPoioutbypoiidsData `json:"datas,omitempty" xml:"datas>alitrip_platform_poi_raw_poioutbypoiids_data,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 总数(不可用) TotalRecords int64 `json:"total_records,omitempty" xml:"total_records,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlitripPlatformPoiRawPoioutbypoiidsResult 结构体
type AlitripPlatformPoiRawSaverawpoiAPIRequest ¶ added in v1.2.0
type AlitripPlatformPoiRawSaverawpoiAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripPlatformPoiRawSaverawpoiAPIRequest POI开放存储能力 API请求 alitrip.platform.poi.raw.saverawpoi
POI开放存储提供离线/在线/纬错更新的能力
func NewAlitripPlatformPoiRawSaverawpoiRequest ¶
func NewAlitripPlatformPoiRawSaverawpoiRequest() *AlitripPlatformPoiRawSaverawpoiAPIRequest
NewAlitripPlatformPoiRawSaverawpoiRequest 初始化AlitripPlatformPoiRawSaverawpoiAPIRequest对象
func (AlitripPlatformPoiRawSaverawpoiAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripPlatformPoiRawSaverawpoiAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripPlatformPoiRawSaverawpoiAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripPlatformPoiRawSaverawpoiAPIRequest) GetTripPoiRawSaveParam ¶ added in v1.2.0
func (r AlitripPlatformPoiRawSaverawpoiAPIRequest) GetTripPoiRawSaveParam() *TripPoiRawSaveParamV2
GetTripPoiRawSaveParam TripPoiRawSaveParam Getter
func (*AlitripPlatformPoiRawSaverawpoiAPIRequest) SetTripPoiRawSaveParam ¶ added in v1.2.0
func (r *AlitripPlatformPoiRawSaverawpoiAPIRequest) SetTripPoiRawSaveParam(_tripPoiRawSaveParam *TripPoiRawSaveParamV2) error
SetTripPoiRawSaveParam is TripPoiRawSaveParam Setter poi存储参数
type AlitripPlatformPoiRawSaverawpoiAPIResponse ¶
type AlitripPlatformPoiRawSaverawpoiAPIResponse struct { model.CommonResponse AlitripPlatformPoiRawSaverawpoiAPIResponseModel }
AlitripPlatformPoiRawSaverawpoiAPIResponse POI开放存储能力 API返回值 alitrip.platform.poi.raw.saverawpoi
POI开放存储提供离线/在线/纬错更新的能力
type AlitripPlatformPoiRawSaverawpoiAPIResponseModel ¶ added in v1.2.0
type AlitripPlatformPoiRawSaverawpoiAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_platform_poi_raw_saverawpoi_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回model Result *AlitripPlatformPoiRawSaverawpoiResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripPlatformPoiRawSaverawpoiAPIResponseModel is POI开放存储能力 成功返回结果
type AlitripPlatformPoiRawSaverawpoiResult ¶
type AlitripPlatformPoiRawSaverawpoiResult struct { // 返回素材id Data string `json:"data,omitempty" xml:"data,omitempty"` // 错误码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` // 总记录 TotalRecords int64 `json:"total_records,omitempty" xml:"total_records,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlitripPlatformPoiRawSaverawpoiResult 结构体
type BaseResult ¶
type BaseResult struct { // 返回的数据实体 Data string `json:"data,omitempty" xml:"data,omitempty"` // 标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 错误信息 MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // 错误码 MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 时间 ServerTime int64 `json:"server_time,omitempty" xml:"server_time,omitempty"` // 是否执行成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
BaseResult 结构体
type FliggyContentRequest ¶
type FliggyContentRequest struct { // 城市信息 Citys []string `json:"citys,omitempty" xml:"citys>string,omitempty"` // 标签列表 TagList []string `json:"tag_list,omitempty" xml:"tag_list>string,omitempty"` // 图片列表 ImgList []string `json:"img_list,omitempty" xml:"img_list>string,omitempty"` // 内容摘要 Summary string `json:"summary,omitempty" xml:"summary,omitempty"` // 发布时间 PublishDate string `json:"publish_date,omitempty" xml:"publish_date,omitempty"` // 发布者用户名 UserName string `json:"user_name,omitempty" xml:"user_name,omitempty"` // 标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 发布者数字id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 父文章ID ParentId string `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 内容正文 Content string `json:"content,omitempty" xml:"content,omitempty"` // 视频封面url VideoCoverUrl string `json:"video_cover_url,omitempty" xml:"video_cover_url,omitempty"` // 视频url VideoUrl string `json:"video_url,omitempty" xml:"video_url,omitempty"` // 其它特征 Feature string `json:"feature,omitempty" xml:"feature,omitempty"` // 文章类型 ArticleType string `json:"article_type,omitempty" xml:"article_type,omitempty"` // 文章ID Id string `json:"id,omitempty" xml:"id,omitempty"` // 用户icon UserIcon string `json:"user_icon,omitempty" xml:"user_icon,omitempty"` // 分类 Category string `json:"category,omitempty" xml:"category,omitempty"` }
FliggyContentRequest 结构体
type FliggyPoiIdParam ¶
type FliggyPoiIdParam struct { // 需要查询的poiid PoiIds []string `json:"poi_ids,omitempty" xml:"poi_ids>string,omitempty"` }
FliggyPoiIdParam 结构体
type FliggyPoiOutParam ¶
type FliggyPoiOutParam struct { // 选择城市名 CityNames []string `json:"city_names,omitempty" xml:"city_names>string,omitempty"` // 开始时间 StartData string `json:"start_data,omitempty" xml:"start_data,omitempty"` // 城市码可不填 CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"` // 每页数量 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 开始页数 PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"` }
FliggyPoiOutParam 结构体
type StructureBrandInfo ¶
type StructureBrandInfo struct { // 品牌名 BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"` // 品牌英文名 BrandEnName string `json:"brand_en_name,omitempty" xml:"brand_en_name,omitempty"` // 品牌Logo BrandLogo string `json:"brand_logo,omitempty" xml:"brand_logo,omitempty"` }
StructureBrandInfo 结构体
type StructureServiceInfo ¶
type StructureServiceInfo struct { // 是否提供酒精饮料 Alcohol bool `json:"alcohol,omitempty" xml:"alcohol,omitempty"` // 是否有停车位 Parking bool `json:"parking,omitempty" xml:"parking,omitempty"` // 是否有wifi Wifi bool `json:"wifi,omitempty" xml:"wifi,omitempty"` // 是否接受预约 Booking bool `json:"booking,omitempty" xml:"booking,omitempty"` // 是否允许自带杯 Byo bool `json:"byo,omitempty" xml:"byo,omitempty"` // 是否有包厢 Box bool `json:"box,omitempty" xml:"box,omitempty"` // 是否提供中文服务 ChineseSvc bool `json:"chinese_svc,omitempty" xml:"chinese_svc,omitempty"` // 是否支持外带 Takeout bool `json:"takeout,omitempty" xml:"takeout,omitempty"` // 是否需要小费 Tips bool `json:"tips,omitempty" xml:"tips,omitempty"` // 是否支持电话预定 TelRsvt bool `json:"tel_rsvt,omitempty" xml:"tel_rsvt,omitempty"` }
StructureServiceInfo 结构体
type TripPoiRawSaveParam ¶
type TripPoiRawSaveParam struct { // 图片urls PhotoUrls []string `json:"photo_urls,omitempty" xml:"photo_urls>string,omitempty"` // 国家名称 CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"` // 当地poi名称 LocalName string `json:"local_name,omitempty" xml:"local_name,omitempty"` // 备用号码 AlternativePhone string `json:"alternative_phone,omitempty" xml:"alternative_phone,omitempty"` // poi英文名称 NameEn string `json:"name_en,omitempty" xml:"name_en,omitempty"` // 视频url VideoUrl string `json:"video_url,omitempty" xml:"video_url,omitempty"` // 国家码 CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"` // 经度 Lng string `json:"lng,omitempty" xml:"lng,omitempty"` // 简介 Bios string `json:"bios,omitempty" xml:"bios,omitempty"` // 城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 营业时间 BusinessHour string `json:"business_hour,omitempty" xml:"business_hour,omitempty"` // 类型 Category string `json:"category,omitempty" xml:"category,omitempty"` // 外部源唯一id SourceBizId string `json:"source_biz_id,omitempty" xml:"source_biz_id,omitempty"` // 扩展字段 ExtendMap string `json:"extend_map,omitempty" xml:"extend_map,omitempty"` // 邮政编码 PostalCode string `json:"postal_code,omitempty" xml:"postal_code,omitempty"` // 主要电话 MainPhone string `json:"main_phone,omitempty" xml:"main_phone,omitempty"` // 来源 Source string `json:"source,omitempty" xml:"source,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 当地语言 LocalLanguage string `json:"local_language,omitempty" xml:"local_language,omitempty"` // 描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // poi名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 外部网站url WebSiteUrl string `json:"web_site_url,omitempty" xml:"web_site_url,omitempty"` // 纬度 Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // poi状态 OpenStatus int64 `json:"open_status,omitempty" xml:"open_status,omitempty"` }
TripPoiRawSaveParam 结构体
type TripPoiRawSaveParamV2 ¶
type TripPoiRawSaveParamV2 struct { // 图片地址(,分隔多张) PhotoUrls []string `json:"photo_urls,omitempty" xml:"photo_urls>string,omitempty"` // 下线原因 OfflineReason string `json:"offline_reason,omitempty" xml:"offline_reason,omitempty"` // 更新时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 城市 City string `json:"city,omitempty" xml:"city,omitempty"` // 主要电话 MainPhone string `json:"main_phone,omitempty" xml:"main_phone,omitempty"` // 简介 Bios string `json:"bios,omitempty" xml:"bios,omitempty"` // 邮政编码 PostalCode string `json:"postal_code,omitempty" xml:"postal_code,omitempty"` // 描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 外部网站url WebSiteUrl string `json:"web_site_url,omitempty" xml:"web_site_url,omitempty"` // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 视频url VideoUrl string `json:"video_url,omitempty" xml:"video_url,omitempty"` // 商圈 CommercialCircle string `json:"commercial_circle,omitempty" xml:"commercial_circle,omitempty"` // 国家码 CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"` // 扩展字段 ExtendMap string `json:"extend_map,omitempty" xml:"extend_map,omitempty"` // 门店Id ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // 开放时间 OpenTime string `json:"open_time,omitempty" xml:"open_time,omitempty"` // 英文地址 AddressEn string `json:"address_en,omitempty" xml:"address_en,omitempty"` // 纬度 Lat string `json:"lat,omitempty" xml:"lat,omitempty"` // 地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 外部源唯一id SourceBizId string `json:"source_biz_id,omitempty" xml:"source_biz_id,omitempty"` // 经度 Lng string `json:"lng,omitempty" xml:"lng,omitempty"` // 别名 NameAlias string `json:"name_alias,omitempty" xml:"name_alias,omitempty"` // 服务时间 BusinessHour string `json:"business_hour,omitempty" xml:"business_hour,omitempty"` // 当地地址 AddressLocal string `json:"address_local,omitempty" xml:"address_local,omitempty"` // 备用号码 AlternativePhone string `json:"alternative_phone,omitempty" xml:"alternative_phone,omitempty"` // 手机号 Telephone string `json:"telephone,omitempty" xml:"telephone,omitempty"` // 人均消费 Consumption string `json:"consumption,omitempty" xml:"consumption,omitempty"` // 英文名 NameEn string `json:"name_en,omitempty" xml:"name_en,omitempty"` // 交通 Transport string `json:"transport,omitempty" xml:"transport,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 本地名 LocalName string `json:"local_name,omitempty" xml:"local_name,omitempty"` // 推荐信息 RecommendInfos string `json:"recommend_infos,omitempty" xml:"recommend_infos,omitempty"` // 名字 Name string `json:"name,omitempty" xml:"name,omitempty"` // 国家名 CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"` // 店铺类型 ShopType string `json:"shop_type,omitempty" xml:"shop_type,omitempty"` // 类型 Category string `json:"category,omitempty" xml:"category,omitempty"` // 当地语言 LocalLanguage string `json:"local_language,omitempty" xml:"local_language,omitempty"` // 下线详细原因 OfflineReasonDetail string `json:"offline_reason_detail,omitempty" xml:"offline_reason_detail,omitempty"` // 服务详情 ServiceInfo *StructureServiceInfo `json:"service_info,omitempty" xml:"service_info,omitempty"` // 类型 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 认领主账号id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 子账号id SubSellerId int64 `json:"sub_seller_id,omitempty" xml:"sub_seller_id,omitempty"` // poiId(飞猪端poiId) PoiId int64 `json:"poi_id,omitempty" xml:"poi_id,omitempty"` // 品牌信息 BrandInfo *StructureBrandInfo `json:"brand_info,omitempty" xml:"brand_info,omitempty"` // poi状态 OpenStatus int64 `json:"open_status,omitempty" xml:"open_status,omitempty"` // 中台门店id StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"` // 操作类型(0:新增 1:更新) OperatorType int64 `json:"operator_type,omitempty" xml:"operator_type,omitempty"` }
TripPoiRawSaveParamV2 结构体
Source Files ¶
- AlitripPlatformContentRawAddAPIRequest.go
- AlitripPlatformContentRawAddAPIResponse.go
- AlitripPlatformPoiRawFeedAPIRequest.go
- AlitripPlatformPoiRawFeedAPIResponse.go
- AlitripPlatformPoiRawFeedResult.go
- AlitripPlatformPoiRawPoioutAPIRequest.go
- AlitripPlatformPoiRawPoioutAPIResponse.go
- AlitripPlatformPoiRawPoioutData.go
- AlitripPlatformPoiRawPoioutResult.go
- AlitripPlatformPoiRawPoioutbypoiidsAPIRequest.go
- AlitripPlatformPoiRawPoioutbypoiidsAPIResponse.go
- AlitripPlatformPoiRawPoioutbypoiidsData.go
- AlitripPlatformPoiRawPoioutbypoiidsResult.go
- AlitripPlatformPoiRawSaverawpoiAPIRequest.go
- AlitripPlatformPoiRawSaverawpoiAPIResponse.go
- AlitripPlatformPoiRawSaverawpoiResult.go
- BaseResult.go
- FliggyContentRequest.go
- FliggyPoiIdParam.go
- FliggyPoiOutParam.go
- StructureBrandInfo.go
- StructureServiceInfo.go
- TripPoiRawSaveParam.go
- TripPoiRawSaveParamV2.go
- doc.go