POST api/usernewscollections
新增新闻收藏【重复提交会取消收藏】
请求信息
URI 参数
None.
Body 请求体 参数
InsertNewsCollectionDtoName | Description | Type | Additional information |
---|---|---|---|
newsid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "newsid": 1 }
application/x-www-form-urlencoded
Sample:
Sample not available.
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.
响应消息
内容 描述
CxccApiMsgName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
msg | string |
None. |
响应示例
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2" }
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.