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.3.1
type AlitripplatformcontentrawaddAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripplatformcontentrawaddAPIRequest 穷游内容写入接口 API请求 alitrip.platform.content.raw.add
穷游内容写入飞猪接口
func NewAlitripplatformcontentrawaddRequest ¶ added in v1.3.1
func NewAlitripplatformcontentrawaddRequest() *AlitripplatformcontentrawaddAPIRequest
NewAlitripplatformcontentrawaddRequest 初始化AlitripplatformcontentrawaddAPIRequest对象
func (AlitripplatformcontentrawaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripplatformcontentrawaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripplatformcontentrawaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripplatformcontentrawaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripplatformcontentrawaddAPIRequest) GetFliggyContentRequest ¶ added in v1.3.1
func (r AlitripplatformcontentrawaddAPIRequest) GetFliggyContentRequest() *FliggyContentRequest
GetFliggyContentRequest FliggyContentRequest Getter
func (AlitripplatformcontentrawaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripplatformcontentrawaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripplatformcontentrawaddAPIRequest) SetFliggyContentRequest ¶ added in v1.3.1
func (r *AlitripplatformcontentrawaddAPIRequest) SetFliggyContentRequest(_fliggyContentRequest *FliggyContentRequest) error
SetFliggyContentRequest is FliggyContentRequest Setter 写入入参
type AlitripplatformcontentrawaddAPIResponse ¶ added in v1.3.1
type AlitripplatformcontentrawaddAPIResponse struct { model.CommonResponse AlitripplatformcontentrawaddAPIResponseModel }
AlitripplatformcontentrawaddAPIResponse 穷游内容写入接口 API返回值 alitrip.platform.content.raw.add
穷游内容写入飞猪接口
type AlitripplatformcontentrawaddAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlitripplatformpoirawfeedAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripplatformpoirawfeedAPIRequest 存储poi原始数据 API请求 alitrip.platform.poi.raw.feed
对接外部数据源,外部数据推送poi数据到飞猪
func NewAlitripplatformpoirawfeedRequest ¶ added in v1.3.1
func NewAlitripplatformpoirawfeedRequest() *AlitripplatformpoirawfeedAPIRequest
NewAlitripplatformpoirawfeedRequest 初始化AlitripplatformpoirawfeedAPIRequest对象
func (AlitripplatformpoirawfeedAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripplatformpoirawfeedAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripplatformpoirawfeedAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripplatformpoirawfeedAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripplatformpoirawfeedAPIRequest) GetParam0 ¶ added in v1.3.1
func (r AlitripplatformpoirawfeedAPIRequest) GetParam0() *TripPoiRawSaveParam
GetParam0 Param0 Getter
func (AlitripplatformpoirawfeedAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripplatformpoirawfeedAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripplatformpoirawfeedAPIRequest) SetParam0 ¶ added in v1.3.1
func (r *AlitripplatformpoirawfeedAPIRequest) SetParam0(_param0 *TripPoiRawSaveParam) error
SetParam0 is Param0 Setter poi存储参数
type AlitripplatformpoirawfeedAPIResponse ¶ added in v1.3.1
type AlitripplatformpoirawfeedAPIResponse struct { model.CommonResponse AlitripplatformpoirawfeedAPIResponseModel }
AlitripplatformpoirawfeedAPIResponse 存储poi原始数据 API返回值 alitrip.platform.poi.raw.feed
对接外部数据源,外部数据推送poi数据到飞猪
type AlitripplatformpoirawfeedAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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.3.1
type AlitripplatformpoirawpoioutAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripplatformpoirawpoioutAPIRequest 飞猪poi输出 API请求 alitrip.platform.poi.raw.poiout
输出指定城市poi指定信息
func NewAlitripplatformpoirawpoioutRequest ¶ added in v1.3.1
func NewAlitripplatformpoirawpoioutRequest() *AlitripplatformpoirawpoioutAPIRequest
NewAlitripplatformpoirawpoioutRequest 初始化AlitripplatformpoirawpoioutAPIRequest对象
func (AlitripplatformpoirawpoioutAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripplatformpoirawpoioutAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripplatformpoirawpoioutAPIRequest) GetFliggyPoiOutParam ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutAPIRequest) GetFliggyPoiOutParam() *FliggyPoiOutParam
GetFliggyPoiOutParam FliggyPoiOutParam Getter
func (AlitripplatformpoirawpoioutAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripplatformpoirawpoioutAPIRequest) SetFliggyPoiOutParam ¶ added in v1.3.1
func (r *AlitripplatformpoirawpoioutAPIRequest) SetFliggyPoiOutParam(_fliggyPoiOutParam *FliggyPoiOutParam) error
SetFliggyPoiOutParam is FliggyPoiOutParam Setter 查询参数
type AlitripplatformpoirawpoioutAPIResponse ¶ added in v1.3.1
type AlitripplatformpoirawpoioutAPIResponse struct { model.CommonResponse AlitripplatformpoirawpoioutAPIResponseModel }
AlitripplatformpoirawpoioutAPIResponse 飞猪poi输出 API返回值 alitrip.platform.poi.raw.poiout
输出指定城市poi指定信息
type AlitripplatformpoirawpoioutAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
type AlitripplatformpoirawpoioutResult struct { // 返回素材id Datas []AlitripplatformpoirawpoioutData `json:"datas,omitempty" xml:"datas>alitripplatformpoirawpoiout_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.3.1
type AlitripplatformpoirawpoioutbypoiidsAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripplatformpoirawpoioutbypoiidsAPIRequest 根据poiId输出飞猪poi数据 API请求 alitrip.platform.poi.raw.poioutbypoiids
根据poiId输出飞猪poi数据
func NewAlitripplatformpoirawpoioutbypoiidsRequest ¶ added in v1.3.1
func NewAlitripplatformpoirawpoioutbypoiidsRequest() *AlitripplatformpoirawpoioutbypoiidsAPIRequest
NewAlitripplatformpoirawpoioutbypoiidsRequest 初始化AlitripplatformpoirawpoioutbypoiidsAPIRequest对象
func (AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetFliggyPoiidParam ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetFliggyPoiidParam() *FliggyPoiIdParam
GetFliggyPoiidParam FliggyPoiidParam Getter
func (AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripplatformpoirawpoioutbypoiidsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripplatformpoirawpoioutbypoiidsAPIRequest) SetFliggyPoiidParam ¶ added in v1.3.1
func (r *AlitripplatformpoirawpoioutbypoiidsAPIRequest) SetFliggyPoiidParam(_fliggyPoiidParam *FliggyPoiIdParam) error
SetFliggyPoiidParam is FliggyPoiidParam Setter 查询参数
type AlitripplatformpoirawpoioutbypoiidsAPIResponse ¶ added in v1.3.1
type AlitripplatformpoirawpoioutbypoiidsAPIResponse struct { model.CommonResponse AlitripplatformpoirawpoioutbypoiidsAPIResponseModel }
AlitripplatformpoirawpoioutbypoiidsAPIResponse 根据poiId输出飞猪poi数据 API返回值 alitrip.platform.poi.raw.poioutbypoiids
根据poiId输出飞猪poi数据
type AlitripplatformpoirawpoioutbypoiidsAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 ¶ added in v1.3.1
type AlitripplatformpoirawpoioutbypoiidsResult struct { // 返回poi详情 Datas []AlitripplatformpoirawpoioutbypoiidsData `json:"datas,omitempty" xml:"datas>alitripplatformpoirawpoioutbypoiids_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.3.1
type AlitripplatformpoirawsaverawpoiAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripplatformpoirawsaverawpoiAPIRequest POI开放存储能力 API请求 alitrip.platform.poi.raw.saverawpoi
POI开放存储提供离线/在线/纬错更新的能力
func NewAlitripplatformpoirawsaverawpoiRequest ¶ added in v1.3.1
func NewAlitripplatformpoirawsaverawpoiRequest() *AlitripplatformpoirawsaverawpoiAPIRequest
NewAlitripplatformpoirawsaverawpoiRequest 初始化AlitripplatformpoirawsaverawpoiAPIRequest对象
func (AlitripplatformpoirawsaverawpoiAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripplatformpoirawsaverawpoiAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripplatformpoirawsaverawpoiAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripplatformpoirawsaverawpoiAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripplatformpoirawsaverawpoiAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripplatformpoirawsaverawpoiAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripplatformpoirawsaverawpoiAPIRequest) GetTripPoiRawSaveParam ¶ added in v1.3.1
func (r AlitripplatformpoirawsaverawpoiAPIRequest) GetTripPoiRawSaveParam() *TripPoiRawSaveParamV2
GetTripPoiRawSaveParam TripPoiRawSaveParam Getter
func (*AlitripplatformpoirawsaverawpoiAPIRequest) SetTripPoiRawSaveParam ¶ added in v1.3.1
func (r *AlitripplatformpoirawsaverawpoiAPIRequest) SetTripPoiRawSaveParam(_tripPoiRawSaveParam *TripPoiRawSaveParamV2) error
SetTripPoiRawSaveParam is TripPoiRawSaveParam Setter poi存储参数
type AlitripplatformpoirawsaverawpoiAPIResponse ¶ added in v1.3.1
type AlitripplatformpoirawsaverawpoiAPIResponse struct { model.CommonResponse AlitripplatformpoirawsaverawpoiAPIResponseModel }
AlitripplatformpoirawsaverawpoiAPIResponse POI开放存储能力 API返回值 alitrip.platform.poi.raw.saverawpoi
POI开放存储提供离线/在线/纬错更新的能力
type AlitripplatformpoirawsaverawpoiAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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