API DocsAPI Docs
POST/api/auth/username/login
用户名登录
POST/api/auth/phone/login
手机号登录
POST/api/auth/phone/sendVerification
发送手机验证码
POST/api/auth/email/sendVerification
发送邮箱验证码
POST/api/auth/logout
用户登出
POST/api/auth/password/change
修改密码
GET/api/auth/wechat/login
微信登录
GET/api/auth/wechat/authCallback
微信授权回调
GET/api/auth/token
通用令牌检查接口
POST/api/auth/wechat/binding
绑定微信账号
POST/api/auth/email/login
邮箱验证码登录
POST/api/auth/username/login
用户名登录
POST/api/auth/phone/login
手机号登录
POST/api/auth/phone/sendVerification
发送手机验证码
POST/api/auth/email/sendVerification
发送邮箱验证码
POST/api/auth/logout
用户登出
POST/api/auth/password/change
修改密码
GET/api/auth/wechat/login
微信登录
GET/api/auth/wechat/authCallback
微信授权回调
GET/api/auth/token
通用令牌检查接口
POST/api/auth/wechat/binding
绑定微信账号
POST/api/auth/email/login
邮箱验证码登录
post/api/auth/phone/sendVerification
post/api/auth/phone/sendVerification
发送手机验证码
Basic Information
Request Method:
post
Request URL:
https://www.lycoo.com/api/auth/phone/sendVerification
Tags:
用户认证
Description
向指定手机号发送登录验证码
Request Body Parameters
Request Body Parameters Explanation
Request body parameters are used to pass complex structured data, typically using the following format: application/json
Parameter Details
Parameter Name | Type | Required | Example Value | Description |
---|---|---|---|---|
phonePrefix | string | Required | 13800138000 | 手机号国际前缀(如 86、1 等) |
phoneNumber | string | Required | 13800138000 | 手机号码(不含国际前缀) |
JSON Example
{
"phonePrefix": "string",
"phoneNumber": "string"
}
Response Example
200验证码发送成功
{
"success": true,
"message": "string"
}
400
500