querycommentlist

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentOrderDetail

type CommentOrderDetail struct {
	FoodName string `json:"food_name"`
	Count    int64  `json:"count"`
}

type QueryCommentListData

type QueryCommentListData struct {
	Result string `json:"result"`
	/**
	 * 评价ID
	 */
	CommentId int64 `json:"comment_id"`
	/**
	 * 用户首次评价的内容
	 */
	CommentContent string `json:"comment_content"`
	/**
	 * 口味评分
	 */
	OrderCommentScore int32 `json:"order_comment_score"`
	/**
	 * 商家评分(星级评分)
	 */
	FoodCommentScore int32 `json:"food_comment_score"`
	/**
	 * 配送评价分数
	 */
	DeliveryCommentScore int32 `json:"delivery_comment_score"`
	/**
	 * 追评内容
	 */
	AddComment string `json:"add_comment"`
	/**
	 * 用户追评时间
	 */
	AddCommentTime string `json:"add_comment_time"`
	/**
	 * 包装评价分数
	 */
	PackingScore int32 `json:"packing_score"`
	/**
	 * 用户首次评价的时间
	 */
	CommentTime string `json:"comment_time"`
	/**
	 * 评价标签
	 */
	CommentLables string `json:"comment_lables"`
	/**
	 * 配送时间。单位为分钟
	 */
	ShipTime int32 `json:"ship_time"`
	/**
	 * 用户提交的评价图片,多个图片url以英文逗号隔开。
	 */
	CommentPictures string `json:"comment_pictures"`
	/**
	 * 用户点赞的菜品
	 */
	PraiseFoodList string `json:"praise_food_list"`
	/**
	 * 用户点踩的菜品
	 */
	CriticFoodList string `json:"critic_food_list"`
	/**
	 * 商家回复该评价的状态。0未回复,1已回复
	 */
	ReplyStatus        int32                `json:"reply_status"`
	CommentOrderDetail []CommentOrderDetail `json:"comment_order_detail"`
	/**
	 * 商家回复内容
	 */
	EReplyContent string `json:"e_reply_content"`
	/**
	 * 商家回复时间(精确到天)
	 */
	EReplyTime  string `json:"e_reply_time"`
	CommentType int32  `json:"comment_type"`
	Valid       int32  `json:"valid"`
	UserId      int64  `json:"user_id"`
	/**
	 * 未超时/超时0分钟=空字符串, 超时(0,10)分钟=超时10分钟内送达, 超时超过10分钟=超时10分钟以上送达(“原ship_time字段已废弃”)
	 */
	OverDeliveryTimeDesc string `json:"over_delivery_time_desc"`
}

type QueryCommentListRequest

type QueryCommentListRequest struct {
	/**
	 *  查询评价起始时间
	 */
	StartTime string `json:"startTime"`
	/**
	 *  查询评价结束时间
	 */
	EndTime string `json:"endTime"`
	/**
	 *  查询起始位置
	 */
	Offset int32 `json:"offset"`
	/**
	 *  查询条数
	 */
	Limit int32 `json:"limit"`
	/**
	 *  商家回复状态。取值范围:-1全部,0未回复,1已回复
	 */
	ReplyStatus int32 `json:"replyStatus"`
	/**
	 *  业务标识 传“biz~1002~Waimai~18”只返回外卖评价,不传或者传其他返回所有 传biz~2004~PinhaofanBAPI~35只返回拼好饭评价
	 */
	BizKey string `json:"bizKey"`
}

func (*QueryCommentListRequest) DoInvoke

type QueryCommentListResponse

type QueryCommentListResponse struct {
	Code    string                 `json:"code"`
	Msg     string                 `json:"msg"`
	Data    []QueryCommentListData `json:"data"`
	TraceId string                 `json:"traceId"`
}

func (*QueryCommentListResponse) IsSuccess

func (response *QueryCommentListResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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