简要描述:
请求域名:
- http://xx.com
请求URL:
POST:https://dev15.yunzmall.com/business/25/plugin/eventRegistration/getStudentList?i=25&mid=164138&type=5&cid=11
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
student_keyword | 否 | string | 学员姓名或手机号 |
student_id | 否 | string | 学员id |
sex | 否 | int | 1男, 2女 |
time | 否 | array | 搜索时间数组 |
time[0] | 否 | int | 开始时间 |
time[1] | 否 | int | 结束时间 |
返回示例:
正确时返回:
{
result: 1
msg: "获取数据成功"
data: {
current_page: 1
data: [{
id: 30
uniacid: 25
relation_name: "===="
birthday: "2024-07-10"
sex: 2
member_id: null
school: "123123"
school_class: "123123"
province_id: 140000
city_id: 140300
district_id: 140303
street_id: 140303005
address: "山西省阳泉市矿区沙坪街道123123222222"
creator: {
uid: 164379
nickname: "阿水"
avatar: https: //thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIEA2Zq3T5kINt9tGF5SbV9hG4uzGYloibvuKq3g9nH9wrBLpRFgTbiaDAaYKBOBTFPlvy9w7a0kUlA/132
avatar_image: https: //thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIEA2Zq3T5kINt9tGF5SbV9hG4uzGYloibvuKq3g9nH9wrBLpRFgTbiaDAaYKBOBTFPlvy9w7a0kUlA/132
username: "阿水"
}
created_at: "2024-07-10 10:25:18"
updated_at: "2024-07-10 10:25:18"
deleted_at: null
entries_number: 0
award_number: 0
member: null
}]
first_page_url: https: //dev15.yunzmall.com/business/25/plugin/eventRegistration/getStudentList?page=1
from: 1
last_page: 1
last_page_url: https: //dev15.yunzmall.com/business/25/plugin/eventRegistration/getStudentList?page=1
links: [{
url: null
label: "« 上一页"
active: false
} {
url: https: //dev15.yunzmall.com/business/25/plugin/eventRegistration/getStudentList?page=1
label: "1"
active: true
} {
url: null
label: "下一页 »"
active: false
}]
next_page_url: null
path: https: //dev15.yunzmall.com/business/25/plugin/eventRegistration/getStudentList
per_page: 15
prev_page_url: null
to: 1
total: 1
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 学员id |
relation_name | string | 学员姓名 |
birthday | string | 学员出生日期 |
sex | int | 学员性别1男,2女 |
school | string | 学校 |
school_class | string | 班级 |
address | string | 地址 |
entries_number | int | 报名次数 |
award_number | string | 获奖次数 |
备注:
- 更多返回错误代码请看首页的错误代码描述