方法列表
创建实名认证信息
user
RPC
createUserIdentity (CreateUserIdentityRequest) returns (CreateUserIdentityResponse)
HTTP
POST /UserIdentityService/createUserIdentity
输入对象:CreateUserIdentityRequest:
输出对象:CreateUserIdentityResponse:
查找单个实名认证信息
admin
user
RPC
findEnabledUserIdentity (FindEnabledUserIdentityRequest) returns (FindEnabledUserIdentityResponse)
HTTP
POST /UserIdentityService/findEnabledUserIdentity
输入对象:FindEnabledUserIdentityRequest:
输出对象:FindEnabledUserIdentityResponse:
查看某个类型的实名认证信息
admin
user
RPC
findEnabledUserIdentityWithOrgType (FindEnabledUserIdentityWithOrgTypeRequest) returns (FindEnabledUserIdentityWithOrgTypeResponse)
HTTP
POST /UserIdentityService/findEnabledUserIdentityWithOrgType
输入对象:FindEnabledUserIdentityWithOrgTypeRequest:
{ // 用户端不需要设置此参数 int64 userId; // 阻止类型 string orgType; }
输出对象:FindEnabledUserIdentityWithOrgTypeResponse:
检查是否正在审核中
admin
RPC
checkUserIdentityIsSubmitted (CheckUserIdentityIsSubmittedRequest) returns (CheckUserIdentityIsSubmittedResponse)
HTTP
POST /UserIdentityService/checkUserIdentityIsSubmitted
输入对象:CheckUserIdentityIsSubmittedRequest:
{ // 用户ID int64 userId; }
输出对象:CheckUserIdentityIsSubmittedResponse:
修改实名认证信息
user
RPC
updateUserIdentity (UpdateUserIdentityRequest) returns (RPCSuccess)
HTTP
POST /UserIdentityService/updateUserIdentity
输入对象:UpdateUserIdentityRequest:
输出对象:RPCSuccess:
{ }
提交审核实名认证信息
user
RPC
submitUserIdentity (SubmitUserIdentityRequest) returns (RPCSuccess)
HTTP
POST /UserIdentityService/submitUserIdentity
输入对象:SubmitUserIdentityRequest:
输出对象:RPCSuccess:
{ }
取消提交实名审核认证信息
user
RPC
cancelUserIdentity (CancelUserIdentityRequest) returns (RPCSuccess)
HTTP
POST /UserIdentityService/cancelUserIdentity
输入对象:CancelUserIdentityRequest:
输出对象:RPCSuccess:
{ }
重置用户实名认证信息
admin
RPC
resetUserIdentity (ResetUserIdentityRequest) returns (RPCSuccess)
HTTP
POST /UserIdentityService/resetUserIdentity
输入对象:ResetUserIdentityRequest:
输出对象:RPCSuccess:
{ }
拒绝用户实名认证信息
admin
RPC
rejectUserIdentity (RejectUserIdentityRequest) returns (RPCSuccess)
HTTP
POST /UserIdentityService/rejectUserIdentity
输入对象:RejectUserIdentityRequest:
输出对象:RPCSuccess:
{ }
通过用户实名认证信息
admin
RPC
verifyUserIdentity (VerifyUserIdentityRequest) returns (RPCSuccess)
HTTP
POST /UserIdentityService/verifyUserIdentity
输入对象:VerifyUserIdentityRequest:
输出对象:RPCSuccess:
{ }
对用户信息进行强验证 检查手机号、身份证号、姓名是否一致,需要开通相关设置
admin
RPC
verifyUserIdentityStrongly (VerifyUserIdentityStronglyRequest) returns (VerifyUserIdentityStronglyResponse)
HTTP
POST /UserIdentityService/verifyUserIdentityStrongly
输入对象:VerifyUserIdentityStronglyRequest:
输出对象:VerifyUserIdentityStronglyResponse:
{ // 是否成功 bool isOk; // 失败代号 int32 failCode; // 失败信息 string failMessage; }