文档
测试

活动列表

GET
http://gjs.com/api/v1/activity

请求头

参数名
类型
描述
必填
token
string
示例:3245e9c463e8f277f386f3ff540071fa22e9ba51a6291dde5c427cc4d5a1dbae293fca447c6c0dd2cfb1a065042139fc6bce4642
必填

请求参数

参数名
类型
描述
必填
search_name
string
非必填搜索
可选
page
int
分页参数 不填默认为第一页
可选

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
time
string
示例:1606099833
必填
data
object
数据字典
必填
total
int
示例:4
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
title
string
示例:报名活动00
必填
role_id
int
示例:0 0代表学 1代表老师 2代表全校
必填
start_time
int
示例:0
必填
end_time
int
示例:0
必填
type
int
示例:1 //1代表报名活动 2代表投票活动
必填
activity_status
int
示例:0 //0代表未参加,1代表已参加
必填
start_time_date
string
活动开始时间 日期格式
必填
end_time_date
string
活动结束时间 日期格式
必填