users

Phone Login Send Code

手机号登录发送验证码

  1. 检查手机号是否存在于系统中
  2. 生成6位随机验证码
  3. 存储验证码到Redis,设置5分钟过期
  4. 发送验证码短信
  5. 返回成功消息
post/api/v1/users/phone-login-send-code

Request

  • Base URL: https://opencloudos.org (the document declares no server; this is the origin it was published from)
  • URL: https://opencloudos.org/api/v1/users/phone-login-send-code
  • Auth: none declared

Request body

phone_numstring required

Response

Successful Response

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.