Skip to content

功能概述

用户信息

接口访问

接口地址

user/detail

请求方式 Method

GET

Header - Authorization Type : Bearer Token

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

返回值

属性类型必填说明
yeexiangIDstringtrue椰想唯一编号
userTypeinttrue用户类型 0.未认证 1.个人 2.企业
userNumberstringfalse用户编号
accountstringtrue账号
nicknamestringtrue昵称
mobilestringtrue手机号
mailstringfalse邮箱
headImgUrlstringfalse头像地址
dataLevelinttrue数据等级
currentRoleinttrue用户当前角色 1.用户 2.代理 3.业主 4.物业
isAuthinttrue是否认证 0.否 1. 待审核 2.是 -2.拒绝
intermediaryAuthinttrue是否为中间商 0.否 1. 待审核 2.是 -2.拒绝
distributorAuthinttrue是否为分销商 0.否 1. 待审核 2.是 -2.拒绝
serviceAuthinttrue是否为服务商 0.否 1. 待审核 2.是 -2.拒绝
intermediaryAuthTimestringfalse中间商认证时间
distributorAuthTimestringfalse分销商认证时间
serviceAuthTimestringfalse服务商认证时间
totalDistributorBusinessinttrue分销商专项指派总数
totalDistributorSoninttrue分销商子账户总数
serviceIDinttrue服务商ID
distributorIDinttrue区域代理ID
totalServiceinttrue服务总数
totalServiceProviderBusinessinttrue服务业务总数
totalUserFavoritesinttrue用户收藏总数
numberReleasesinttrue发布总数
numberParticipantsinttrue参与总数
numberPropertyinttrue物业数量
numberHouseinttrue房产数量
numberCommissioninttrue委托数量
numberRentinttrue出租数量
namestringfalse认证真实姓名 userType 为1时返回
companyNamestringfalse企业名称 userType 为2时返回
companyRegDatestringfalse企业注册日期 userType 为2时返回
legalPersonstringfalse企业法人
companyCodestringfalse企业统一社会信用代码 userType 为2时返回
companyAddressstringfalse企业地址 userType 为2时返回

返回示例

{
    "response": {
        "userID": 7,
        "yeexiangID": "",
        "userType": 2,
        "userNumber": "ZJWL2025022605dc7a88",
        "account": "",
        "nickname": "王杰",
        "mobile": "**** 4549",
        "mail": "",
        "dataLevel": 1,
        "headImgUrl": "https://file.pushhaa.com/5001b4a7b16ce0033b7c2faca4264ea0.jpg",
        "currentRole": 1,
        "isAuth": 2,
        "companyName": "字竞未来(海南)网络科技有限公司",
        "companyRegDate": "2020-12-21",
        "companyCode": "91460000MA5TTTTUXT",
        "companyAddress": "",
        "intermediaryAuth": 0,
        "distributorAuth": 0,
        "serviceAuth": 0,
        "intermediaryAuthTime": "2025-03-15 23:00:08",
        "distributorAuthTime": "2025-03-15 23:00:08",
        "serviceAuthTime": "2025-03-15 23:00:08",
        "totalDistributorBusiness": 0,
        "totalDistributorSon": 0,
        "totalService": 0,
        "totalServiceProviderBusiness": 0,
        "totalUserFavorites": 2,
        "numberReleases": 3,
        "numberParticipants": 3
    },
    "requestId": "0a11f427-e114-4d28-b775-e4f1fee9eab9"
}