文档
测试

新增用户 user/add

POST
{{api_host}}/6.0/user/add

请求头

参数名
类型
描述
必填
Content-Type
string
application/json
必填

请求参数

参数名
类型
描述
必填
sns_type
int
第三方账号类型,示例:0 微信 1 微博 2 手机号 3 QQ 5 一键登录 6 Apple ID
必填
verification_code
string
示例:1173
必填
sns_id
string
示例:ojq1ttwYzOKlpe_ogosu2z2-JfvA
必填
phone_num
string
示例:18551710877
必填
client_type
string
示例:0 Android 1 iOS
必填
head_img_url
string
示例:http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eoFRj89lj0qWvhFAfWDTbCEvQol7pA2ubglmctykAdfPibLIAKufCQ5osEskdicm5GfdU34zqRr6khw/132
必填
province
string
示例:江苏
必填
open_id
string
示例:oRerpss-49tlXGY0DH1hSNE4xm6Q
必填
user_id
int
示例:1000
必填
token
string
示例:guest
必填
sns_token
string
示例:oRerpss-49tlXGY0DH1hSNE4xm6Q 32_ZTFelG_4mfFOhff-Yk50bk9hI_qPo7NATNgT5xBTyuMWEJK4f_e2SXXpDVP-FhbzYePpXZvzTvLeIBVhuGOF_QsBFok6WTvjquL3Dw2xjfQ
必填
city
string
示例:江苏
必填
guest_id
string
示例:718-6
必填
device_id
string
示例:eb2491dafc224242a3be02ffc4042382
必填
nickname
string
示例:Airycanon
必填
gender
int
示例:1
必填
email
string
Apple ID 对应的邮箱,示例:xxx@qq.com
必填

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
id
int
示例:30404524
必填
nickname
string
示例:Airycanon
必填
head_img_url
string
示例:http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqauia5D89LQ2ys9JibRqiavfadRFyNibLpBdb7dqF9jrCb0HhvbRo4hY5QZIILuS4NfdbOFLW8klgPkw/132
必填
weibo_id
string
示例:fergrherherth
必填
wechat_id
string
示例:ojq1ttwYzOKlpe_ogosu2z2-JfvA
必填
birthday
int
示例:0
必填
signature
string
示例:
必填
phone_num
string
示例:+13322077483
必填
token
string
示例:8b3ecafaa7148dd77b734354ca348d34
必填
gender
int
示例:1
必填
enable_reward
int
示例:1
必填
autoplay_music
int
示例:1
必填
last_contribution_time
int
示例:0
必填
member_type
int
示例:0
必填
famous_type
int
示例:0
必填
enable_water_mark
string
示例:0
必填
province
string
示例:
必填
city
string
示例:
必填
career
int
示例:0
必填
reg_time
int
示例:1554131496
必填
ip_address
string
示例:61.155.234.42
必填
qq_id
string
示例:
必填
reg_state
int
示例:1
必填
open_id
string
示例:oZPFVwkUEya_HlBoyQObYjqVwemI
必填
user_id
int
示例:30404524
必填
wechat_bound
boolean
微信是否已绑定,示例:true
必填
wechat_union_id
string
示例:ojq1ttwYzOKlpe_ogosu2z2-JfvA
必填
weibo_bound
boolean
微博是否已绑定,示例:true
必填
qq_bound
boolean
QQ 是否已绑定,示例:false
必填
apple_id_bound
boolean
Apple ID 是否已绑定,示例:true
必填
bedge_img_url
string
示例:
必填
label_img_url
string
示例:
必填
wx_open_id
string
示例:oZPFVwkUEya_HlBoyQObYjqVwemI
必填
nickname_remaining_update_count
string
示例:1
必填
code
int
示例:1000
必填