-
Notifications
You must be signed in to change notification settings - Fork 3
notice_admin
echisan edited this page Jul 22, 2018
·
1 revision
- 请求URL
/admin/notices
- 请求方式
GET
- 请求URL
/admin/notices
- 请求方式
POST
- 请求参数
| 请求参数 | 参数类型 | require | 参数说明 |
|---|---|---|---|
| title | String | true | 公告标题 |
| content | String | true | 公告正文 |
| isi | String | true | 全称(isShowIndex) |
- 返回参数
| 返回参数 | 参数类型 | 参数说明 |
|---|
- 请求URL
/admin/notices
- 请求方式
PUT
- 请求参数
| 请求参数 | 参数类型 | require | 参数说明 |
|---|---|---|---|
| title | String | true | 公告标题 |
| content | String | true | 公告正文 |
| isi | String | true | 全称(isShowIndex), 是否显示在首页,取值有2个,(0:不显示,1:显示) |
| nid | String | true | noticeId,公告的id |
- 返回参数
| 返回参数 | 参数类型 | 参数说明 |
|---|
- 请求URL
/admin/notices/{nid}
- 请求方式
POST
- 请求参数
| 请求参数 | 参数类型 | require | 参数说明 |
|---|---|---|---|
| nid | String | true | noticeId,公告的id |
- 返回参数
| 返回参数 | 参数类型 | 参数说明 |
|---|