简要描述:

  • 开品实验室--开品列表

请求域名:

  • http://xx.com

请求URL:

POST/plugin.event-registration.api.student.get-list

参数:

参数名 是否必须 类型 说明
student_keyword string 学员姓名或手机号

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取数据成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "uniacid": 1,
                "relation_name": "aaa",
                "birthday": "ssss",
                "sex": 1,
                "member_id": "1",
                "school": "asdasd",
                "school_class": "asdasd",
                "province_id": 130000,
                "city_id": 130300,
                "district_id": 130323,
                "street_id": 130323101,
                "address": "asdasdas",
                "creator": {
                    "uid": 13,
                    "nickname": "13*******89",
                    "avatar": "http://www.shop777.com/static/images/photo-mr.jpg",
                    "avatar_image": "http://www.shop777.com/static/images/photo-mr.jpg",
                    "username": "13*******89"
                },
                "created_at": "2024-07-07 17:47:20",
                "updated_at": "2024-07-07 17:47:20",
                "deleted_at": null,
                "entries_number": 1,
                "award_number": 0,
                "member": {
                    "uid": 1,
                    "nickname": "12345678901",
                    "avatar": "http://www.shop777.com/static/images/photo-mr.jpg",
                    "avatar_image": "http://www.shop777.com/static/images/photo-mr.jpg",
                    "username": "12345678901"
                }
            }
        ],
        "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
        "links": [
            {
                "url": null,
                "label": "« 上一页",
                "active": false
            },
            {
                "url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "下一页 »",
                "active": false
            }
        ],
        "next_page_url": null,
        "path": "http://www.shop777.com/addons/yun_shop/api.php",
        "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 获奖次数

备注:

  • 更多返回错误代码请看首页的错误代码描述