Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropertiesValues ¶
type PropertiesValues struct { /** * 后台类目对应模板下属性ID */ Code int64 `json:"code"` /** * 模板ID */ TemplateId int64 `json:"template_id"` /** * 后台类目ID */ CategoryId int64 `json:"category_id"` /** * 后台类目对应模板下属性父ID */ ParentPropertyId int64 `json:"parent_property_id"` /** * 后台类目对应模板下属性名称 */ Name string `json:"name"` /** * 后台类目对应模板下属性填的值 */ Value string `json:"value"` /** * 后台类目对应模板下属性填的值的ID */ ValueId int64 `json:"value_id"` /** * 层级 */ Level int64 `json:"level"` /** * 是否叶子节点 */ IsLeaf int64 `json:"is_leaf"` /** * 排序 */ Sequence int64 `json:"sequence"` Child []PropertiesValues `json:"child"` }
type QueryFoodDnaData ¶
type QueryFoodDnaData struct { /** * 后台类目ID */ CategoryId int64 `json:"categoryId"` Customizable int64 `json:"customizable"` PropertiesValues []PropertiesValues `json:"properties_values"` }
type QueryFoodDnaRequest ¶
type QueryFoodDnaRequest struct {
Biz string `json:"biz"`
}
func (*QueryFoodDnaRequest) DoInvoke ¶
func (req *QueryFoodDnaRequest) DoInvoke(client mtclient.MeituanClient) (*QueryFoodDnaResponse, error)
type QueryFoodDnaResponse ¶
type QueryFoodDnaResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data QueryFoodDnaData `json:"data"` TraceId string `json:"traceId"` }
func (*QueryFoodDnaResponse) IsSuccess ¶
func (response *QueryFoodDnaResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.