文档
测试

发送评论

POST
/api/product/comment/send

接口描述

发送评论-submitComment

请求头

参数名
类型
描述
必填
Content-Type
String
'Content-Type': 'application/x-www-form-urlencoded'
必填
X-Requested-With
String
'X-Requested-With': 'xmlhttprequest'
必填

说明 / 示例

>请求参数 ```json { "userId": "example123456", "starsValue": 4, "storeId": 1, "orderId": 1, "commentValue": "HOLA!" } ``` >响应参数 ```json { "msg": "success", //或者"error" "code": 11001 //0插入成功 11001插入失败 11002评论已完成,请勿重复 } ```