Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvaluateData ¶
type EvaluateRequest ¶
type EvaluateRequest struct { /** * 配送活动标识 */ DeliveryId int64 `json:"delivery_id"` /** * 美团配送内部订单id,最长不超过32个字符 */ MtPeisongId string `json:"mt_peisong_id"` /** * 评分(5分制) 预留参数,不作为骑手反馈参考 合作方需传入0-5之间分数或者不传,否则报错 */ Score int32 `json:"score"` /** * 评论内容(评论的字符长度需小于1024) */ CommentContent string `json:"comment_content"` }
func (*EvaluateRequest) DoInvoke ¶
func (req *EvaluateRequest) DoInvoke(client mtclient.MeituanClient) (*EvaluateResponse, error)
type EvaluateResponse ¶
type EvaluateResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data EvaluateData `json:"data"` TraceId string `json:"traceId"` }
func (*EvaluateResponse) IsSuccess ¶
func (response *EvaluateResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.