POST api/ClientApp/System/notice_list
[已完成] 系统通知列表
Request Information
URI Parameters
None.
Body Parameters
NoticeListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| last_id |
最后一条记录的ID,传 0 则返回第一页的数据 |
integer |
Required |
| clientType |
客户端类型,默认值:website |
string |
None. |
| clientVersion |
客户端版本,默认值:1.0.0 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"last_id": 1,
"clientType": "sample string 2",
"clientVersion": "sample string 3"
}
Response Information
Resource Description
NoticeListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| notices | Collection of Notice |
None. |
|
| code |
1 为成功,其他为失败 |
integer |
None. |
| msg |
请求描述 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"notices": [
{
"id": 1,
"title": "sample string 2",
"content": "sample string 3",
"display_time": "sample string 4",
"read_count": 5,
"isRead": 6
},
{
"id": 1,
"title": "sample string 2",
"content": "sample string 3",
"display_time": "sample string 4",
"read_count": 5,
"isRead": 6
}
],
"code": 1,
"msg": "sample string 2"
}