蔚然 1.0
  1. System
蔚然 1.0
  • AliyunOss
    • Sts授权
      POST
  • Area
    • 地区代码
      GET
    • 国别
      GET
  • Category
    • 排序
      POST
  • Content
    • 内容列表
      GET
    • 内容详细
      GET
  • System
    • 检测 Token
      GET
    • 登录
      POST
    • 重设密码
      POST
    • 换绑手机
      POST
    • 续期
      POST
    • 退出登录
      POST
    • 检查通行证是否存在
      POST
    • 发送验证码
      GET
    • 获取验证串
      POST
    • 多语言包
      POST
    • 系统信息
      POST
    • 图片上传
      POST
    • 上传文件
      POST
  • Version
    • 版本检测
      GET
  • Demo
    • Get 示例
      GET
  1. System

发送验证码

GET
/api/web/system/v1/captcha/send
System

请求参数

Query 参数
passport
string 
通行证
必需
type
enum<string> 
验证类型
可选
枚举值:
existno-exist
_weiran_secret
string 
可选
默认值:
{{weiran-secret}}
Header 参数
x-os
string 
可选
默认值:
{{x-os}}
x-id
string 
可选
默认值:
{{x-id}}
Authorization
string 
可选
默认值:
Beare {{_token}}
x-type
string 
可选
默认值:
user

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/api/web/system/v1/captcha/send?passport&_weiran_secret={{weiran-secret}}' \
--header 'x-os: {{x-os}}' \
--header 'x-id: {{x-id}}' \
--header 'Authorization: Beare {{_token}}' \
--header 'x-type: user'

返回响应

🟢200成功
application/json
发送成功
Body
code
integer 
状态码
可选
示例值:
1
message
string 
提示信息
可选
示例
{
  "code": 1,
  "message": "string"
}
修改于 2025-04-04 11:13:23
上一页
检查通行证是否存在
下一页
获取验证串
Built with