返回值示例

参数名 类型 描述 示例
http_status_code int 调用失败 http 返回码设为 400 400
code int 系统返回码 -1
msg String 错误描述 非法的 apikey
detail String 具体错误描述或解决方法 apikey 不正确或没有授权

API 调用失败,返回错误结果示例:

  1. {
  2. "http_status_code": 400, //调用结束后的http_status_code
  3. "code": 3, //错误码
  4. "msg": "账户余额不足", //错误描述
  5. "detail": "账户需要充值,请充值后重试" //具体错误描述或解决方法
  6. }