Documentation ¶
Overview ¶
Package ihome 包含iHome API相关结构体
Index ¶
- type AdvancePicMaterialDto
- type AlibabaIhomeCtomCaseMainpicUpdateAPIRequest
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiMethodName() string
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetCaseId() string
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicType() string
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicUrl() string
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetRawParams() model.Params
- func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetTraceId() string
- func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetCaseId(_caseId string) error
- func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicType(_picType string) error
- func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicUrl(_picUrl string) error
- func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetTraceId(_traceId string) error
- type AlibabaIhomeCtomCaseMainpicUpdateAPIResponse
- type AlibabaIhomeCtomCaseMainpicUpdateAPIResponseModel
- type AlibabaIhomeCtomCaseMainpicUpdateApiResult
- type TaobaoIhomeAdvancepicUploadAPIRequest
- func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetMaterials() []AdvancePicMaterialDto
- func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetRawParams() model.Params
- func (r *TaobaoIhomeAdvancepicUploadAPIRequest) SetMaterials(_materials []AdvancePicMaterialDto) error
- type TaobaoIhomeAdvancepicUploadAPIResponse
- type TaobaoIhomeAdvancepicUploadAPIResponseModel
- type TaobaoIhomeAdvancepicUploadApiResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvancePicMaterialDto ¶
type AdvancePicMaterialDto struct { // 标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 用户id UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` // 图片oss地址 Url string `json:"url,omitempty" xml:"url,omitempty"` // 方案id CaseId string `json:"case_id,omitempty" xml:"case_id,omitempty"` // 宽 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 高 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 企业id EntId int64 `json:"ent_id,omitempty" xml:"ent_id,omitempty"` // 0 普通图 1 全景图 2 鸟瞰图 Flag int64 `json:"flag,omitempty" xml:"flag,omitempty"` }
AdvancePicMaterialDto 结构体
type AlibabaIhomeCtomCaseMainpicUpdateAPIRequest ¶
type AlibabaIhomeCtomCaseMainpicUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaIhomeCtomCaseMainpicUpdateAPIRequest 方案渲染图修改 API请求 alibaba.ihome.ctom.case.mainpic.update
用于在门店工作台里的编辑器保存方案,由三维家后端调用阿里后端,保存方案信息 此接口只允许ihome业务使用,用于门店的编辑功能,只允许广东三维家信息科技有限公司一家公司调用,不适用于其他业务。
func NewAlibabaIhomeCtomCaseMainpicUpdateRequest ¶
func NewAlibabaIhomeCtomCaseMainpicUpdateRequest() *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest
NewAlibabaIhomeCtomCaseMainpicUpdateRequest 初始化AlibabaIhomeCtomCaseMainpicUpdateAPIRequest对象
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiMethodName ¶
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiParams ¶
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetCaseId ¶
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetCaseId() string
GetCaseId CaseId Getter
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicType ¶
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicType() string
GetPicType PicType Getter
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicUrl ¶
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicUrl() string
GetPicUrl PicUrl Getter
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetTraceId ¶
func (r AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetTraceId() string
GetTraceId TraceId Getter
func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetCaseId ¶
func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetCaseId(_caseId string) error
SetCaseId is CaseId Setter 方案id
func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicType ¶
func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicType(_picType string) error
SetPicType is PicType Setter 图片类型
func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicUrl ¶
func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicUrl(_picUrl string) error
SetPicUrl is PicUrl Setter 图片的地址
func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetTraceId ¶
func (r *AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetTraceId(_traceId string) error
SetTraceId is TraceId Setter 32位字符串
type AlibabaIhomeCtomCaseMainpicUpdateAPIResponse ¶
type AlibabaIhomeCtomCaseMainpicUpdateAPIResponse struct { model.CommonResponse AlibabaIhomeCtomCaseMainpicUpdateAPIResponseModel }
AlibabaIhomeCtomCaseMainpicUpdateAPIResponse 方案渲染图修改 API返回值 alibaba.ihome.ctom.case.mainpic.update
用于在门店工作台里的编辑器保存方案,由三维家后端调用阿里后端,保存方案信息 此接口只允许ihome业务使用,用于门店的编辑功能,只允许广东三维家信息科技有限公司一家公司调用,不适用于其他业务。
type AlibabaIhomeCtomCaseMainpicUpdateAPIResponseModel ¶
type AlibabaIhomeCtomCaseMainpicUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_ihome_ctom_case_mainpic_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 根据站点名称查询产品 ApiResult *AlibabaIhomeCtomCaseMainpicUpdateApiResult `json:"api_result,omitempty" xml:"api_result,omitempty"` }
AlibabaIhomeCtomCaseMainpicUpdateAPIResponseModel is 方案渲染图修改 成功返回结果
type AlibabaIhomeCtomCaseMainpicUpdateApiResult ¶
type AlibabaIhomeCtomCaseMainpicUpdateApiResult struct { // 具体错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // case的url地址 Data string `json:"data,omitempty" xml:"data,omitempty"` // true Status bool `json:"status,omitempty" xml:"status,omitempty"` }
AlibabaIhomeCtomCaseMainpicUpdateApiResult 结构体
type TaobaoIhomeAdvancepicUploadAPIRequest ¶
type TaobaoIhomeAdvancepicUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoIhomeAdvancepicUploadAPIRequest ihome图片上传 API请求 taobao.ihome.advancepic.upload
ihome 定制业务编辑器投稿素材上传
func NewTaobaoIhomeAdvancepicUploadRequest ¶
func NewTaobaoIhomeAdvancepicUploadRequest() *TaobaoIhomeAdvancepicUploadAPIRequest
NewTaobaoIhomeAdvancepicUploadRequest 初始化TaobaoIhomeAdvancepicUploadAPIRequest对象
func (TaobaoIhomeAdvancepicUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoIhomeAdvancepicUploadAPIRequest) GetApiParams ¶
func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoIhomeAdvancepicUploadAPIRequest) GetMaterials ¶
func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetMaterials() []AdvancePicMaterialDto
GetMaterials Materials Getter
func (TaobaoIhomeAdvancepicUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoIhomeAdvancepicUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoIhomeAdvancepicUploadAPIRequest) SetMaterials ¶
func (r *TaobaoIhomeAdvancepicUploadAPIRequest) SetMaterials(_materials []AdvancePicMaterialDto) error
SetMaterials is Materials Setter 图片类
type TaobaoIhomeAdvancepicUploadAPIResponse ¶
type TaobaoIhomeAdvancepicUploadAPIResponse struct { model.CommonResponse TaobaoIhomeAdvancepicUploadAPIResponseModel }
TaobaoIhomeAdvancepicUploadAPIResponse ihome图片上传 API返回值 taobao.ihome.advancepic.upload
ihome 定制业务编辑器投稿素材上传
type TaobaoIhomeAdvancepicUploadAPIResponseModel ¶
type TaobaoIhomeAdvancepicUploadAPIResponseModel struct { XMLName xml.Name `xml:"ihome_advancepic_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 根据站点名称查询产品 Result *TaobaoIhomeAdvancepicUploadApiResult `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoIhomeAdvancepicUploadAPIResponseModel is ihome图片上传 成功返回结果
type TaobaoIhomeAdvancepicUploadApiResult ¶
type TaobaoIhomeAdvancepicUploadApiResult struct { // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 提交成功的批次id Data int64 `json:"data,omitempty" xml:"data,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoIhomeAdvancepicUploadApiResult 结构体