POST api/Comment/postComment
保存评论
Request Information
URI Parameters
None.
Body Parameters
postCommentModelName | Description | Type | Additional information |
---|---|---|---|
userid | integer |
None. |
|
parentUserId |
回复对像的userid |
integer |
None. |
dataId | integer |
None. |
|
parentId | integer |
None. |
|
code | integer |
None. |
|
type | string |
None. |
|
content | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "userid": 1, "parentUserId": 2, "dataId": 3, "parentId": 4, "code": 5, "type": "sample string 6", "content": "sample string 7" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
保存评论
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.