登录API
API链接:

POST http://51learn.vip:3001/pub/login

请求头:

Content-Type: application/json

JSON参数:

{ "username": "【你的用户名】", "pwd": "【你的密码】" }

成功响应:
{
  "state": 0,
  "type": "SUCCESS",
  "code": 200,
  "message": "登录成功",
  "data": {
    "authentication": "【你的token】"
  }
}
验证码识别API
API链接:

POST http://51learn.vip:3001/yzm/letter_number/reg

请求头:
Content-Type: application/json
Authorization: Bearer 【你的token】
JSON参数:

{ "captchaData": "【base64图片】如:iVBORw0KGgoAY1yNMcdaX6jqVqvrV3N..." }

成功响应:
{
  "state": 0,
  "type": "SUCCESS",
  "code": 200,
  "message": "识别成功",
  "data": "ugnc"  // 【数字+字母】验证码 识别结果
}
滑块识别API
API链接:

POST http://51learn.vip:3001/slider/reg

请求头:
Content-Type: application/json
Authorization: Bearer 【你的token】
JSON参数:

{ "captchaData": "【base64图片】如:iVBORw0KGgoAY1yNMcdaX6jqVqvrV3N..." }

成功响应:
{
  "state": 0,
  "type": "SUCCESS",
  "code": 200,
  "message": "识别成功",
  "data": "76,93,120,133"  // 滑块框的[左上角坐标][右下角坐标] x1,y1,x2,y2
}
查询剩余验证码识别次数API
API链接:

GET http://51learn.vip:3001/yzm/reg/num

请求头:
Content-Type: application/json
Authorization: Bearer 【你的token】
成功响应:
{
  "state": 0,
  "type": "SUCCESS",
  "code": 200,
  "message": "操作成功",
  "data": {
    "letterAndNumberTodayUse": 2,  // 今日【数字+字母】验证码识别 调用次数
    "letterAndNumberTodayRemain": 9998,  // 今日【数字+字母】验证码识别 剩余调用次数
    "sliderTodayUse": 5,  // 今日【滑块】识别 调用次数
    "sliderTodayRemain": 995  // 今日【滑块】识别 剩余调用次数
  }
}