许愿商店
请求URL:
/wishShop
请求方式:
- POST
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| appId | 是 | string | appid |
| udid | 是 | string | 设备ID |
返回示例
{
"code": 200,
"msg": "SUCCESS",
"data": {
"balance": 5295,
"cardCount": [
{
"imageCount": 1,
"typeSee": 2
}
],
"exchangePrize": [
{
"id": 1,
"name": "AI更加聪明",
"description": "女友权益:AI更加聪明",
"remark": "",
"imageUrl": "",
"requiredFragments": 0,
"requiredRCards": 0,
"requiredSrCards": 0,
"requiredSsrCards": 0,
"requiredUrCards": 0,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 1,
"status": 0,
"exchangeQuantity": 1,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 2,
"name": "1张抽奖券",
"description": "使用10碎片兑换1张抽奖券",
"remark": "",
"imageUrl": "",
"requiredFragments": 10,
"requiredRCards": 0,
"requiredSrCards": 0,
"requiredSsrCards": 0,
"requiredUrCards": 0,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 2,
"status": 0,
"exchangeQuantity": 1,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 3,
"name": "20钻石",
"description": "使用30碎片、6张R卡和4张SR卡兑换20钻石",
"remark": "",
"imageUrl": "",
"requiredFragments": 30,
"requiredRCards": 6,
"requiredSrCards": 4,
"requiredSsrCards": 0,
"requiredUrCards": 0,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 2,
"status": 0,
"exchangeQuantity": 20,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 4,
"name": "50钻石",
"description": "使用60碎片、12张R卡和8张SR卡兑换50钻石",
"remark": "",
"imageUrl": "",
"requiredFragments": 60,
"requiredRCards": 12,
"requiredSrCards": 8,
"requiredSsrCards": 0,
"requiredUrCards": 0,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 2,
"status": 0,
"exchangeQuantity": 50,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 5,
"name": "100钻石",
"description": "使用120碎片、12张R卡、8张SR卡和1张SSR卡兑换100钻石",
"remark": "",
"imageUrl": "",
"requiredFragments": 120,
"requiredRCards": 12,
"requiredSrCards": 8,
"requiredSsrCards": 1,
"requiredUrCards": 0,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 2,
"status": 0,
"exchangeQuantity": 100,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 6,
"name": "5美元现金",
"description": "使用600碎片、12张SR卡、6张SSR卡和2张UR卡兑换5美元",
"remark": "",
"imageUrl": "",
"requiredFragments": 600,
"requiredRCards": 0,
"requiredSrCards": 12,
"requiredSsrCards": 6,
"requiredUrCards": 2,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 3,
"status": 0,
"exchangeQuantity": 5,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 7,
"name": "10美元现金",
"description": "使用1400碎片、18张SR卡、10张SSR卡和3张UR卡兑换10美元",
"remark": "",
"imageUrl": "",
"requiredFragments": 1400,
"requiredRCards": 0,
"requiredSrCards": 18,
"requiredSsrCards": 10,
"requiredUrCards": 3,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 3,
"status": 0,
"exchangeQuantity": 10,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 8,
"name": "20美元现金",
"description": "使用1800碎片、30张SR卡、16张SSR卡和5张UR卡兑换20美元",
"remark": "",
"imageUrl": "",
"requiredFragments": 1800,
"requiredRCards": 0,
"requiredSrCards": 30,
"requiredSsrCards": 16,
"requiredUrCards": 5,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 3,
"status": 0,
"exchangeQuantity": 20,
"exchangeLimit": -1,
"stock": -1,
"type": 0
},
{
"id": 9,
"name": "iPhone 16",
"description": "使用100张UR卡兑换1台iPhone 16",
"remark": "",
"imageUrl": "",
"requiredFragments": 0,
"requiredRCards": 0,
"requiredSrCards": 0,
"requiredSsrCards": 0,
"requiredUrCards": 100,
"requiredIntimacyLevel": 0,
"requiredOr": 0,
"category": 4,
"status": 0,
"exchangeQuantity": 1,
"exchangeLimit": -1,
"stock": -1,
"type": 0
}
]
}
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 提示信息 |
| data | struct | 数据 |
| -balance | int | 钻石余额 |
| -cardCount | array | 卡片数量 |
| --imageCount | int | 卡片数量 |
| --typeSee | int | 卡片类型:1:公开;2-R;3-SR;4-SSR;5-UR |
| -exchangePrize | array | 兑换奖项 |
| --id | int | 奖项ID |
| --name | string | 奖项名 |
| --imageUrl | string | 奖项图片 |
| --requiredFragments | int | 所需抽卡券碎片数量 |
| --requiredRCards | int | 所需R卡数量 |
| --requiredSrCards | int | 所需SR卡数量 |
| --requiredSsrCards | int | 所需SSR卡数量 |
| --requiredUrCards | int | 所需UR卡数量 |
| --requiredIntimacyLevel | int | 所需亲密度等级 |
| --requiredOr | int | 兑换所需关系:0:都需要;1:只需要满足一项 |
| --type | int | 1-hot |
备注