钻石买体力

请求URL:

  • /buyStrength

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId 是 string AppID
udid 是 string 设备号
strength 是 int 购买数量
useNewStrengthPrice 否 bool 是否使用新体力售价;传 true 时使用 strengthPriceNew,未传或传 false 时使用旧 strengthPrice

返回示例

{
  "code": 200,
  "msg": "SUCCESS",
  "data": null
}

{
  "code": 510,
  "msg": "参数错误",
  "data": null
}
{
  "code": 800,
  "msg": "参数错误",
  "data": null
}

{
  "code": 730,
  "msg": "余额不足",
  "data": null
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data null 数据

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-09-21 09:52:20

results matching ""

    No results matching ""