用户相关

用户登录/登出和用户信息等相关接口

用户密码登录

手机号密码登录

post
请求体
appCodestring可选

chinabim服务code为CHINABIM

passwdstring必填

密码登录时必传

Example: PHOND_AND_PWD
phonestring必填

手机号

smsCodestring必填

短信登录时必传

Example: 12345
validateIdstring必填

短信登录时必传

Example: 12345
wxCodestring必填

微信登录Code

Example: 12345
响应
chevron-right
200

OK

*/*
post
/user/loginByPwd

手机验证码登录

手机号验证码登录

post
请求体
appCodestring可选

chinabim服务code为CHINABIM

passwdstring必填

密码登录时必传

Example: PHOND_AND_PWD
phonestring必填

手机号

smsCodestring必填

短信登录时必传

Example: 12345
validateIdstring必填

短信登录时必传

Example: 12345
wxCodestring必填

微信登录Code

Example: 12345
响应
chevron-right
200

OK

*/*
post
/user/loginByCode

发送验证码

发送登录短信

post
请求体
appIdstring可选

非必填;默认值CUSTOMER-SERVICE;可选值CHINABIM-SERVICE,ZFX-SERVICE

maxUseTimesinteger · int32可选

最大使用次数

phonestring必填

手机号

typestring必填

短信类型

响应
chevron-right
200

OK

*/*
post
/user/sendSmsCode

用户登出

登出

post
请求体
cidstring必填

登录账号

tokenstring必填

Token

Example: 4cac5d07fbea482594e79ea52776b78f
响应
chevron-right
200

OK

*/*
post
/user/logout

用户个人信息

根据cid获取用户信息

post
请求体
cidstring必填

登录账号

customerCidstring必填

员工CID(非登陆账户)

idCardstring可选

身份证号

phonestring必填

手机号

uidstring可选

企业id

响应
chevron-right
200

OK

*/*
post
/user/profile

最后更新于