/api/user_center/users/methods
累计调用 0 次
可用注册/登录方式
返回后台启用的注册/登录方式(公开,免签名)。
- 返回 data={methods:[email,phone], username:false};客户端先查此接口再渲染表单,username=false 表示"用户名+密码注册"已停用。
| 字段 | 类型 | 说明 |
|---|---|---|
| methods | array | 后台启用的注册/登录方式列表 |
| methods[] | string | 取值 email / phone |
| username | bool | 用户名+密码注册是否可用(恒为 false) |
{
"methods": ["email", "phone"],
"username": false
}