文档
测试

Banner栏

GET
http://localhost:8081/api/v1/notice/banner

请求头

参数名
类型
描述
必填
Authorization
String
访问口令{token}
必填
Content-Type
String
数据协议,默认-application/json
必填

响应参数

参数名
类型
描述
必填
status
String
响应状态码(200代表成功,反之视为失败)
必填
message
String
详细信息<中文>
必填
result
Object
数据结构体
必填
code
String
详细信息<英文>
必填

说明 / 示例

{ "code": "OK", "message": "OK", "result": [ { "bannerUrl": "http://localhost:8081/api/v1/upload/banner0.png", "createTime": "2020-03-23 16:48:16", "id": 1, "title": "使用燃气讲安全,保护家人第一位" }, { "bannerUrl": "http://localhost:8081/api/v1/upload/banner1.png", "createTime": "2020-03-23 16:49:00", "id": 5, "title": "燃气安全系万家,小心使用保平安" } ], "status": 200 }