兑换奖品

请求URL:

  • /redeemPrize

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId 是 string appid
udid 是 string 设备ID
prizeId 是 int 奖项ID
quantity 否 int 兑换份数,默认1;仅 categoryNum=1 的商品支持大于1
sign 是 string 签名

返回示例

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

返回参数说明

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

备注

  • quantity 必须大于0;未传时按1份兑换。
  • 当商品 categoryNum=0 时,quantity 只能为1。
  • 碎片及 R、SR、SSR、UR、SUR 卡消耗和库存扣减均按 quantity 倍计算。
  • 兑换记录的 exchangeQuantity 为本次获得的道具总数,即 quantity × 商品的exchangeQuantity。
  • 下架商品不可兑换。
2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-09-21 09:52:20

results matching ""

    No results matching ""