Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropertiesKeys ¶
type PropertiesKeys struct { /** * 分类ID */ CategoryId int64 `json:"category_id"` /** * 模板ID */ TemplateId int64 `json:"template_id"` /** * 后台类目对应模板下属性父ID */ ParentPropertyId int64 `json:"parent_property_id"` /** * 后台类目对应模板下属性ID */ Code int64 `json:"code"` /** * 后台类目对应模板下属性名称 */ Name string `json:"name"` /** * 后台类目对应模板下属性填的值 */ Value string `json:"value"` /** * 后台类目对应模板下属性填的值的ID */ ValueId int64 `json:"value_id"` /** * 层级 */ Level int32 `json:"level"` /** * (1: "单选");(2: "多选");(3: "输入");(4: "单选可输入");(5: "多选可添加");(6: "输入可添加");(7: "单选可添加") */ InputType int32 `json:"input_type"` /** * 是否叶子节点 */ IsLeaf int32 `json:"is_leaf"` /** * 排序 */ Sequence int32 `json:"sequence"` /** * 子节点,结构相同 */ Child []PropertiesKeys `json:"child"` /** * 1必填;2非必填 */ IsRequired int32 `json:"is_required"` }
type WmoperFoodQueryCategoryPropertyData ¶
type WmoperFoodQueryCategoryPropertyData struct {
PropertiesKeys []PropertiesKeys `json:"propertiesKeys"`
}
type WmoperFoodQueryCategoryPropertyRequest ¶
type WmoperFoodQueryCategoryPropertyRequest struct { /** * 分类id */ CategoryId int64 `json:"category_id"` }
func (*WmoperFoodQueryCategoryPropertyRequest) DoInvoke ¶
func (req *WmoperFoodQueryCategoryPropertyRequest) DoInvoke(client mtclient.MeituanClient) (*WmoperFoodQueryCategoryPropertyResponse, error)
type WmoperFoodQueryCategoryPropertyResponse ¶
type WmoperFoodQueryCategoryPropertyResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data WmoperFoodQueryCategoryPropertyData `json:"data"` TraceId string `json:"traceId"` }
func (*WmoperFoodQueryCategoryPropertyResponse) IsSuccess ¶
func (response *WmoperFoodQueryCategoryPropertyResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.