节日配置

请求URL:

  • /festival

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string App唯一标识
udid string 唯一设备ID

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "banner": "https://muyuhan.s3.amazonaws.com/aiChat/festival/Christmas/banner.png",
        "purchasePackageList": [
            {
                "id": 10,
                "price": 999,
                "amount": 280,
                "giftAmount": 20,
                "amountFestival": 300,
                "giftAmountFestival": 150,
                "productId": "com.coupleuai.chat.app.3",
                "limitBuy": 0,
                "type": 0,
                "channel": 0,
                "originalPrice": 0,
                "createdAt": 1745688579,
                "updatedAt": 1766345901,
                "purchased": false
            },
            {
                "id": 11,
                "price": 1999,
                "amount": 620,
                "giftAmount": 111,
                "amountFestival": 730,
                "giftAmountFestival": 270,
                "productId": "com.coupleuai.chat.app.4",
                "limitBuy": 0,
                "type": 2,
                "channel": 0,
                "originalPrice": 0,
                "createdAt": 1745688606,
                "updatedAt": 1766345914,
                "purchased": false
            }
        ]
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data Array 数据列表
-banner string 节日Banner图
-purchasePackageList Array 节日内购项列表
-id uint 套餐ID
-price uint 套餐价格(单位:分)
-amountFestival uint 节日钻石数
-giftAmountFestival uint 节日附赠钻石数
-productId string 支付产品ID
-purchased uint 是否已购:0-否;1-是
-type uint 1-First charge;2-Recommend;4-Best deal
-originalPrice uint 套餐原价格(单位:分)

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2025-12-26 18:58:27

results matching ""

    No results matching ""