文档
测试

充值-錢包/獲取充值規則

POST
/api/mc/charge/getChargeRulesList

接口描述

獲取充值規則列表,一般在“我的-錢包”裡面使用,或者其他需要調用充值列表的地方

请求头

参数名
类型
描述
必填
XX-Token
string
用户token
必填
XX-Device-Type
string
设备类型 android、ios
必填

响应参数

参数名
类型
描述
必填
code
int
返回码
必填
msg
string
提示信息
必填
data
array
返回数据
必填
consumption
int
消費總額,不用理
必填
coin
int
用戶當前擁有的餘額
必填
rules
arra
充值規則
必填

说明 / 示例

```json { "code": 1, "msg": "成功", "data": { "consumption": 942, "coin": 9057, "rules": [ { "id": 18, "name": "1個月VIP", "money": "9.99", "coin": 700, "product_id": "vip1", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 }, { "id": 12, "name": "350鑽石", "money": "4.99", "coin": 350, "product_id": "usd499", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 }, { "id": 13, "name": "700鑽石", "money": "9.99", "coin": 700, "product_id": "usd999", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 }, { "id": 14, "name": "1400鑽石", "money": "19.99", "coin": 1400, "product_id": "usd1999", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 }, { "id": 15, "name": "3500鑽石", "money": "49.99", "coin": 3500, "product_id": "usd4999", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 }, { "id": 16, "name": "7000鑽石", "money": "99.99", "coin": 7000, "product_id": "usd9999", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 }, { "id": 17, "name": "14000鑽石", "money": "299.99", "coin": 14000, "product_id": "usd29999", "give": 0, "charge_type": "google", "is_limit": 0, "discount_ratio": 0 } ], "paylist": [ { "id": "google", "name": "Google支付", "thumb": "http://mc.wowoxi.com/static/app/pay/google.png" } ] } } ```