ihome

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ihome 包含iHome API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=43219

Index

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

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetCaseId

GetCaseId CaseId Getter

func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicType

GetPicType PicType Getter

func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetPicUrl

GetPicUrl PicUrl Getter

func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) GetTraceId

GetTraceId TraceId Getter

func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetCaseId

SetCaseId is CaseId Setter 方案id

func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicType

SetPicType is PicType Setter 图片类型

func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetPicUrl

SetPicUrl is PicUrl Setter 图片的地址

func (*AlibabaIhomeCtomCaseMainpicUpdateAPIRequest) SetTraceId

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

GetMaterials Materials Getter

func (TaobaoIhomeAdvancepicUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoIhomeAdvancepicUploadAPIRequest) SetMaterials

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 结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL