简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2022-02-14

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

未实名
{
    "status": 200,
    "msg": "成功",
    "data": [],
    "other": []
}

提交过实名
{
    "status": 200,
    "msg": "成功",
    "data": {
        "id": 7,
        "type": 1,
        "uid": 8,
        "real_name": "高先生",
        "idcard": "440881199203151058",
        "idcard_positive": "realname/2020-12-16/5fd9e4d16b52a.jpg",
        "idcard_reverse": "realname/2020-12-16/5fd9e4d1b50e5.jpg",
        "company_name": "",
        "business_license": "",
        "business_license_img": "",
        "company_address": "",
        "status": 1,
        "remark": "通过",
        "create_at": "2020-12-16 18:43:29",
        "update_at": 1608115409,
        "idcard_positive_view_url": "http://yht.com/uploads/realname/2020-12-16/5fd9e4d16b52a.jpg",
        "idcard_reverse_view_url": "http://yht.com/uploads/realname/2020-12-16/5fd9e4d1b50e5.jpg",
        "business_license_img_view_url": ""
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "key错误"
}

返回参数说明:

参数名 类型 说明
id string id
type string 认证类型【1=个人,2=公司】
uid string 用户uid
idcard string 个人身份证号码/法人身份证
idcard_positive string 身份证正面
idcard_reverse string 身份证反面
company_name string 公司名称
business_license string 营业执照号
business_license_img string 营业执照图片
company_address string 公司地址
status string 状态【0=没提交,1=审核通过,2=审核失败,3=待审核】
remark string 备注
created_at string 时间
idcard_positive_view_url string 身份证正面
idcard_reverse_view_url string 身份证反面
business_license_img_view_url string 营业执照图片

备注:

文档更新时间: 2022-02-14 17:22   作者:admin