Skip to content

功能概述

花名册详情展示模块

接口访问

接口地址

intel/roster/detail

请求方式 Method

GET

Header - Authorization Type : Bearer Token

属性类型长度必填默认值说明访问版本
tokenstring32true用户身份标识令牌-

请求参数

属性类型长度必填默认值说明访问版本
userIDinteger11true用户ID-

返回值

属性类型必填说明
idintegertrue用户ID
namestringtrue姓名
mobilestringtrue手机号
mailstringtrue邮箱
headImgUrlstringtrue头像地址
graduatingClassstringtrue毕业班级
graduationTimeintegertrue毕业时间
rolestringtrue角色 CEO.会长 ECEO.副会长 HP.执行会长 GS.秘书长 DIRECTOR.理事 VIP.会员
isAuthintegertrue是否认证
isHaizhongStudentsintegertrue是否海中学生
membershipExpirationTimestringtrue会员到期时间
companyListarraytrue公司列表
certificateListarraytrue证书列表
createTimestringtrue创建时间

companyList

属性类型必填说明
idintegertrue公司ID
companyNamestringtrue公司名称
creditCodestringtrue统一社会信用代码
establishTimestringtrue成立时间
isAuthintegertrue是否认证

certificateList

属性类型必填说明
idintegertrue证书ID
descriptionstringtrue描述
imageUrlstringtrue图片地址

返回示例

{
    "response": {
        "id": 1,
        "name": "王杰demo",
        "mobile": "19989027201",
        "mail": "",
        "headImgUrl": "",
        "graduatingClass": "6",
        "graduationTime": 2012,
        "role": "DIRECTOR",
        "isAuth": 1,
        "isHaizhongStudents": 1,
        "membershipExpirationTime": "2025-08-29",
        "companyList": [
            {
                "id": 1,
                "companyName": "字竞未来(海南)网络科技有限公司",
                "creditCode": "",
                "estiblishTime": "2020-12-29",
                "isAuth": 1
            },
            {
                "id": 10,
                "companyName": "三两友人(海南)信息科技有限公司",
                "creditCode": "91460000MAC77R6A7K",
                "estiblishTime": "2023-05-06",
                "isAuth": 1
            }
        ],
        "certificateList": [
            {
                "id": 2,
                "description": "编辑表述",
                "imageUrl": "地址图片"
            },
            {
                "id": 1,
                "description": "描述",
                "imageUrl": "图片地址"
            }
        ],
        "createTime": "2024-12-13 14:31:39"
    },
    "requestId": "6e20eb28-21dd-4a2c-a776-2e3688a4e253"
}

错误码

错误码说明解决方案
10045用户不存在请检查用户是否存在