苹果支付验证

请求URL:

  • /applePurchase

请求方式:

  • POST

参数:

参数名 必选 类型 说明
receiptData 是 string 验证小票
productId 是 string 商品ID
sign 是 string 接口签名

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "userBox": {
            "id": 1
        },
        "pvpRoom": null
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
-userBox struct 用户获得宝箱ID
--id int 用户获得宝箱ID(开宝箱需要的ID)
-pvpRoom struct PVP房间信息

备注

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

results matching ""

    No results matching ""