文档
测试

公告列表

GET
{{url}}/api/index/notice_list?type=1

请求头

参数名
类型
描述
必填
token
string
示例:1bd1adba-fd0a-4780-9df0-2ccf0b7358d4
必填

请求参数

参数名
类型
描述
必填
type
int
示例:1=未读 2=已读
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1694418141
必填
data
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
h_id
int
示例:1
必填
name
string
示例:通知公告02
必填
image
string
示例:/uploads/20230911/24352cc10ed00cc863feed494c28ba29.png
必填
origin
string
示例:产品部
必填
file
string
示例:/uploads/20230911/64cf55c95827093822a5a853be41d3cc.png
必填
content
string
示例:<p>通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02通知公告02<br></p>
必填
status
int
示例:1
必填
sort
int
示例:0
必填
createtime
int
示例:1694416825
必填
updatetime
int
示例:1694416825
必填
status_text
string
示例:Status 1
必填

说明 / 示例

![image.png](https://cos.easydoc.net/80948682/files/lmeku4tk.png)