用户基本信息

  • 接口地址: /api/fresns/user/detail
  • 请求方式: POST
  • 请求格式: JSON

header 可选参数:

参数名公开模式(是否必传)私有模式(是否必传)
uidYESYES
midNONO
tokenYESYES

返回结果:

成功

{
    "code": 0,
    "message": "ok",
    "data": {
        "uid": "users > uuid",
        "countryCode": "users > country_code",
        "purePhone": "users > pure_phone 加密输出,显示前 3 位 + **** + 后 2 位,如:137******50",
        "phone": "users > phone 加密输出,显示前 3 位 + **** + 后 2 位,如:86137******50",
        "email": "users > email 加密输出,显示前 3 位 + 邮箱后缀,如 jav***@qq.com",
        "password": "users > password(仅标注是否有值,有值代表有密码,布尔型)",
        "proveSupport": "配置表 account_prove_service 关联的插件,插件 URL",
        "verifyStatus": "users > prove_verify",
        "realname": "users > prove_realname 加密输出,显示后 1 位,如:*杰",
        "gender": "users > prove_gender",
        "idType": "users > prove_type",
        "idNumber": "users > prove_number 加密输出,显示前 1 位 + *(实际位数) + 后 1 位,如: 3****************3",
        "registerTime": "users > created_at",
        "status": "users > is_enable",
        "deactivate": "users > deleted_at 布尔型(停用为 true),有值代表已停用",
        "deactivateTime": "users > deleted_at 停用时间",
        "connects": [
            {
                "id": "user_connects > connect_id",
                "name": "user_connects > connect_name",
                "nickname": "user_connects > connect_nickname",
                "avatar": "user_connects > connect_avatar",
                "status": "user_connects > is_enable"
            },
            {
                "id": "user_connects > connect_id",
                "name": "user_connects > connect_name",
                "nickname": "user_connects > connect_nickname",
                "avatar": "user_connects > connect_avatar",
                "status": "user_connects > is_enable"
            }
        ],
        "wallet": {
            "status": "user_wallets > is_enable",
            "password": "user_wallets > password(仅标注是否有值,有值代表有密码,布尔型)",
            "balance": "user_wallets > balance",
            "freezeAmount": "user_wallets > freeze_amount",
            "bankName": "user_wallets > bank_name",
            "swiftCode": "user_wallets > swift_code",
            "bankAddress": "user_wallets > bank_address",
            "bankAccount": "user_wallets > bank_account 加密输出,显示前 4 位 + **** + 后 2 位,如:6225***********96",
            "bankStatus": "user_wallets > bank_status",
            "payExpands": [
                // plugin_usages > type=1
                {
                    "plugin": "plugin_usages > plugin_unikey",
                    "name": "plugin_usages > name 多语言",
                    "icon": "plugin_usages > icon_file_url",
                    "url": "详见 plugins 地址拼接说明",
                    "badgesType": "plugin_badges > display_type",
                    "badgesValue": "plugin_badges > value_text 或者 value_number"
                }
            ],
            "withdrawExpands": [
                // plugin_usages > type=2
                {
                    "plugin": "plugin_usages > plugin_unikey",
                    "name": "plugin_usages > name 多语言",
                    "icon": "plugin_usages > icon_file_url",
                    "url": "详见 plugins 地址拼接说明",
                    "badgesType": "plugin_badges > display_type",
                    "badgesValue": "plugin_badges > value_text 或者 value_number"
                }
            ]
        },
        "members": [
            {
                "mid": "members > uuid",
                "mname": "members > name",
                "nickname": "members > nickname",
                "rid": "主角色的值 member_roles > id",
                "nicknameColor": "主角色的值 member_roles > nickname_color",
                "roleName": "主角色的值 member_roles > name 多语言",
                "roleNameDisplay": "主角色的值 member_roles > is_display_name",
                "roleIcon": "主角色的值 member_roles > icon_file_url",
                "roleIconDisplay": "主角色的值 member_roles > is_display_icon",
                "password": "members > password(仅标注是否有值,有值代表有密码,布尔型)",
                "avatar": "members > avatar_file_url",
                "verifiedStatus": "members > verified_status",
                "verifiedIcon": "members > verified_file_url",
                "verifiedDesc": "members > verified_desc",
                "status": "members > is_enable",
                "deactivate": "members > deleted_at 布尔型(停用为 true),有值代表已停用",
                "deactivateTime": "members > deleted_at 停用时间",
                "multiple": "配置表 multi_member_service 关联的插件,生成插件页面 URL,需判断该成员所有角色是否在“有权使用的角色”列表中"
            },
            {
                "mid": "members > uuid",
                "mname": "members > name",
                "nickname": "members > nickname",
                "rid": "主角色的值 member_roles > id",
                "nicknameColor": "主角色的值 member_roles > nickname_color",
                "roleName": "主角色的值 member_roles > name 多语言",
                "roleNameDisplay": "主角色的值 member_roles > is_display_name",
                "roleIcon": "主角色的值 member_roles > icon_file_url",
                "roleIconDisplay": "主角色的值 member_roles > is_display_icon",
                "password": "members > password(仅标注是否有值,有值代表有密码,布尔型)",
                "avatar": "members > avatar_file_url",
                "verifiedStatus": "members > verified_status",
                "verifiedIcon": "members > verified_file_url",
                "verifiedDesc": "members > verified_desc",
                "status": "members > is_enable",
                "deactivate": "members > deleted_at 布尔型(停用为 true),有值代表已停用",
                "deactivateTime": "members > deleted_at 停用时间",
                "multiple": "配置表 multi_member_service 关联的插件,生成插件页面 URL,需判断该成员所有角色是否在“有权使用的角色”列表中"
            }
        ],
        "memberName": "配置表键名 member_name 多语言",
        "memberIdName": "配置表键名 member_id_name 多语言",
        "memberNameName": "配置表键名 member_name_name 多语言",
        "memberNicknameName": "配置表键名 member_nickname_name 多语言",
        "memberRoleName": "配置表键名 member_role_name 多语言"
    }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118

失败

{
    "code": "code_messages > code",
    "message": "code_messages > message"
}
1
2
3
4

开发说明

  • 通过命令字 fresns_cmd_user_detail 获取上面返参信息。