Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FoodTextCheckData ¶
type FoodTextCheckData struct { /** * 诊断结果 */ Result string `json:"result"` }
type FoodTextCheckRequest ¶
type FoodTextCheckRequest struct { /** * 需要诊断的内容(菜名或者菜品描述) */ Text string `json:"text"` /** * 0:菜名诊断 1:菜品描述诊断 */ Type string `json:"type"` }
func (*FoodTextCheckRequest) DoInvoke ¶
func (req *FoodTextCheckRequest) DoInvoke(client mtclient.MeituanClient) (*FoodTextCheckResponse, error)
type FoodTextCheckResponse ¶
type FoodTextCheckResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data FoodTextCheckData `json:"data"` TraceId string `json:"traceId"` }
func (*FoodTextCheckResponse) IsSuccess ¶
func (response *FoodTextCheckResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.