Skip to content

医院客户医疗密码重置

接口描述

在医院管理后台,可调用此接口直接进行重设医疗密码的操作,无需客户手机短信验证(该功能安全措施完全由医院控制)。

请求URL

  • /his/customer/backend/resetPassword

请求方式

  • POST

公共请求参数

参数名必选类型最大长度说明示例
appIdstring应用IDapp123
signaturestring签名xxx
transNoncestring32请求流水号20260415001
transDatestring请求时间,13位时间戳1731406784607

请求参数

参数名必选类型最大长度说明示例
custFlagstring1客户输入凭证:0-身份证 1-甬易支付登陆用户名0
customerIdstring32身份证号码或甬易支付登陆用户名431223200301231256
customerNamestring128客户姓名杨过
newPasswordstring50新医疗密码, 密码为通过密码随机数加密的6位数字TPe/2ULX2oDJwLQoBYCQpw==
mcryptKeystring3232位密码随机数g61kjqi0hmrx6c0ggyo0q3x4zkdjoi7z
merchantIdstring10商户代码M100001523

请求报文示例

json
{
  "appId": "app123",
  "signature": "xxx",
  "transNonce": "20260415001",
  "transDate": "1731406784607",
  "custFlag": "0",
  "customerId": "431223200301231256",
  "customerName": "杨过",
  "newPassword": "TPe/2ULX2oDJwLQoBYCQpw==",
  "mcryptKey": "g61kjqi0hmrx6c0ggyo0q3x4zkdjoi7z",
  "merchantId": "M100001523"
}

公共响应参数

参数名必选类型最大长度说明示例
codestring响应编码:000000000-成功,非000000000-失败,具体原因取message00000000
messagestring响应信息成功
signaturestring签名xxx
transNoncestring32请求流水号(同入参)req20260415001
transDatestring响应时间,13位时间戳1731406784607

响应示例

json
{
  "code": "00000000",
  "message": "成功",
  "signature": "xxx",
  "transNonce": "req20260415001",
  "transDate": "1731406784607"
}

备注