文档
测试

评价订单商品

POST
/mall/api/order/comment

请求头

参数名
类型
描述
必填
token
String
登录token
必填

请求参数

参数名
类型
描述
必填
orderGoodsId
int
订单商品id
必填
content
String
评论类容
必填
hasPicture
boolean
评论是否带图片 true 是
必填
star
int
评分 1到5
必填
picUrls
array
评论图片数组列表
必填

响应参数

参数名
类型
描述
必填
code
int
状态码 0 成功其他失败
必填
msg
String
响应信息
必填

说明 / 示例

## `请求示例` ```java {"orderGoodsId": 93, "content": "好厲害哦哦1111111111111111111","hasPicture": true, "star": 5,"picUrls":["https://scpic3.chinaz.net/Files/pic/pic9/202110/bpic24567_s.jpg","https://scpic3.chinaz.net/Files/pic/pic9/202110/bpic24567_s.jpg"]} ``` ## `返回示例` ```java { "code": 0, "msg": "请求成功" } ```