Microseer.openRealNameAuthentication(object)
有UI交互,弹出实名认证页面,提交实名认证后返回认证结果
object 参数说明
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| success | function | 是 | 接口调用成功的回调函数 |
| fail | function | 否 | 接口调用失败的回调函数 |
| complete | function | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
sucess 回调参数说明
| 属性 | 类型 | 说明 |
|---|---|---|
| success | string | 成功信息 |
fail 回调参数说明
| 属性 | 类型 | 说明 |
|---|---|---|
| fail | string | 失败信息 |
eg:
var object = {
success: function(res) {
alert(res.success);
},
fail: function(res) {
alert(res.fail);
},
}
Microseer.openRealNameAuthentication(object);