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分销商子账户总数
totalUserDraftinttrue草稿总数
serviceIDinttrue服务商ID
distributorIDinttrue区域代理ID
totalServiceinttrue服务总数
totalServiceProviderBusinessinttrue服务业务总数
totalUserFavoritesinttrue用户收藏总数
numberReleasesinttrue发布总数
numberParticipantsinttrue参与总数
companyNamestringfalse企业名称 userType 为2时返回
companyRegDatestringfalse企业注册日期 userType 为2时返回
legalPersonstringfalse企业法人
companyCodestringfalse企业统一社会信用代码 userType 为2时返回
companyAddressstringfalse企业地址 userType 为2时返回
memberInfoarrayfalse会员信息
balanceInfoarrayfalse钱包信息

memberInfo ​

属性类型必填说明
memberTypeinttrue会员类型 1-月 2-季 3-年
orderIDinttrue订单编号
activateTimestringtrue生效时间
expiredTimestringtrue过期时间

balanceInfo ​

属性类型必填说明
balanceinttrue钱包余额
accountBalanceinttrue椰宝余额
isSpecialinttrue是否使用尝鲜价

返回示例 ​

{
    "response": {
        "yeexiangID": "",
        "userType": 2,
        "userNumber": "ZJWL202504080686bc59",
        "account": "",
        "nickname": "鹿",
        "mobile": "**** 5065",
        "mail": "",
        "dataLevel": 99,
        "headImgUrl": "https://file.yeexiang.com/82ee878279cd5818e7d71df40e2cc953.jpeg",
        "currentRole": 3,
        "isAuth": 2,
        "totalUserFavorites": 0,
        "numberReleases": 3,
        "numberParticipants": 4,
        "totalUserDraft": 1,
        "companyName": "叽哩哇啦有限公司",
        "companyRegDate": "0000-00-00",
        "companyCode": "645784965367914",
        "companyAddress": "",
        "legalPerson": "鹿方正",
        "intermediaryAuth": 0,
        "distributorAuth": 2,
        "serviceAuth": 2,
        "serviceID": 0,
        "distributorID": 0,
        "intermediaryAuthTime": "2025-09-22 00:45:27",
        "distributorAuthTime": "2025-09-22 00:45:27",
        "serviceAuthTime": "2025-09-22 00:45:27",
        "totalDistributorBusiness": 3,
        "totalDistributorSon": 0,
        "totalService": 0,
        "totalServiceProviderBusiness": 0,
        "memberInfo": {
            "memberType": 3,
            "orderID": 1,
            "activateTime": "2025-09-22 00:40:16",
            "expiredTime": "2025-12-28 00:40:19"
        },
        "balanceInfo": {
            "balance": 0,
            "accountBalance": 100000,
            "isSpecial": 0
        }
    },
    "requestId": "5e71f8cc-f381-4b16-87f3-25a75ee4e045"
}