Module: 医生密码校验^2024/01/22

Since:
  • 2024/01/22
Author:
  • zz

Methods

(inner) get /doctor_phone_password(timestamp, sign, phone, password)

Parameters:
Name Type Description
timestamp String(10) 时间戳,值为秒值,长度10位,时间戳有效期:±10分钟
sign String(64) 签名
phone String(50) 手机号码 2024/01/22
password String(64) 密码
Properties:
Name Type Description
success Boolean 成功标志,true为成功
doctorId String(24) 医生ID
Throws:
400 缺少phone
400 缺少password
420 用户不存在
421 未设置密码
422 密码错误
Examples
请求示例:/doctor_phone_password?sign=29B95FBA8B10FEDFDCD4C9BC172F31AFA687DFA6B9241E69F3E59E873B6CF924&timestamp=1570428513&phone=18600645555&password=123465
返回示例:
  {
    "success": true,
    "doctorId": "5e0457eee4e1ec234ca2d7c00"
  }