评价订单商品

评价订单商品

请求地址

POST https://{host}/openapi/order/comment

请求参数

属性 类型 默认值 必填 说明
x-token String 用户token

body

属性 类型 默认值 必填 说明
orderId int 订单id
orderGoodsId int 订单商品id
content String 评论内容
star int 评价星级:0-5
hasPicture bool 是否有图片
picUrls list(string) 图片评价

返回值

{
  "errcode": "0",
  "errmsg": ""
}

参数说明

属性 类型 说明
errcode number 错误码
errmsg string 错误信息

errcode 的合法值

说明 最低版本
-1 系统错误
0 请求成功
20001 参数为空
20003 参数错误
61002 订单不存在
61006 当前商品不能评价
61007 订单商品已评价
61008 当前商品评价时间已经过期
22002 更新操作失败

results matching ""

    No results matching ""