curl --location 'http://192.168.1.36:8080/akaso/api/userComment/addComment' \
--header 'token;' \
--data-urlencode 'fromWorksId=2027277788549009409' \
--data-urlencode 'type=2' \
--data-urlencode 'parentCommentId=' \
--data-urlencode 'fromUserId=42f252e09ac649f7878df588abc19a9b' \
--data-urlencode 'content=测试' \
--data-urlencode 'fromWorksUserId=42f252e09ac649f7878df588abc19a9b'{
"state": "200",
"message": "成功",
"data": {
"commentId": 1333585803309174800,
"userId": "b03fa8ce9c51482aa62a2d28dce0110d",
"worksId": 1330083366584389600,
"articleTitle": "",
"parentCommentId": "",
"parentCommentUserId": "",
"replyCommentId": "",
"replyCommentUserId": "",
"commentLevel": 1,
"content": "测试一下",
"status": "",
"praiseNum": 0,
"topStatus": "",
"createTime": "2020-12-01T01:36:46.948+00:00",
"commentNum": 0,
"pointsResponse": {
"customerId": 1,
"taskType": 1,
"oldPoints": 1,
"pointDouble": 1,
"incrPoint": 1,
"nowLevel": 1,
"nextLevel": 1,
"percentage": 1,
"isFirst": 1
}
},
"code": "200"
}