## 示例
接口名称:套餐列表
接口地址:域名/index.php?m=api&c=packages&a=packagesList
请求方式:POST
数据类型:JSON
响应类型:JSON
请求参数:
| 参数名称 | 是否必须 | 类型 | 默认值 | 描述 |
| --- | --- | --- | --- | --- |
响应数据:
| 参数名称 | 是否必须 | 类型 | 默认值 | 描述 |
| --- | --- | --- | --- | --- |
| message | 是 | string | | 返回信息 |
| code | 是 | int | | 状态码 |
| data | 是 | array / string | | json / false |
| -----packages_id | 是 | int | | 套餐自增id |
| -----name | 是 | varchar | | 级别名 |
| -----money | 是 | int | | 金额,美元 |
| -----chinese | 是 | varchar | | 中文名 |
| -----matrix_reward | 是 | int | | 矩阵奖(见点奖),单位是美元 |
| -----matrix_level | 是 | int | | 见点奖最高层次 |
| -----direct | 是 | tinyint | | 直推奖比例 |
| -----collsion_max_week_money | int | | 对碰奖每周最高多少美元 单元是美元 |
| -----collision_max_day_money | int | | 对碰奖每天对碰最高多少美元 单元是美元 |
| -----collsion_caculate | int | | collision 对碰奖比例 |
| -----collision_pv | int | | collision 对碰奖pv比例 |
| -----conllision_level | int | | 对碰最大层次 |
| -----static_day_end | int | | 用户可享受多少天的静态分红 |
| -----static_continuation_day | int | | 静态分红奖,多少天续费一次 |
| -----static_pay_money | int | | 支付续费金额比例 |
| -----saving | int | | 储蓄池,每交易一笔都需要往储蓄池里存美元,单位是比例 |
| -----retirement_commissions | float | | 退休金 系统扣除退休金以后返还给佣金钱包的金额 |
| -----retirement_money | float | | 退休金 系统每个月8号自动从储蓄池中扣除金额,单位是美元 |
| -----svaing_max | int | | 储蓄池到达多少美元后不再进行储蓄,单位是美元 |
| -----max_user | int | | 用户最大允许注册数 |
成功响应示列:
~~~
{
"code": 1001,
"message": "响应成功",
"data": [
{
"packages_id": "1",
"name": "executive",
"money": "250",
"chinese": "行政",
"matrix_reward": "10",
"matrix_level": "5",
"direct": "20",
"collsion_max_week_money": "2500",
"collision_max_day_money": "500",
"collsion_caculate": "10",
"collision_pv": "90",
"conllision_level": "10",
"static_day_end": "150",
"static_continuation_day": "75",
"static_pay_money": "35",
"saving": "20",
"retirement_commissions": "32.40",
"retirement_money": "99.00",
"svaing_max": "1000",
"max_user": "31"
},
{
"packages_id": "2",
"name": "corporate",
"money": "500",
"chinese": "公司",
"matrix_reward": "10",
"matrix_level": "9",
"direct": "20",
"collsion_max_week_money": "5000",
"collision_max_day_money": "1000",
"collsion_caculate": "10",
"collision_pv": "90",
"conllision_level": "10",
"static_day_end": "225",
"static_continuation_day": "75",
"static_pay_money": "35",
"saving": "20",
"retirement_commissions": "32.40",
"retirement_money": "99.00",
"svaing_max": "1000",
"max_user": "31"
},
{
"packages_id": "3",
"name": "pro",
"money": "1000",
"chinese": "专家",
"matrix_reward": "10",
"matrix_level": "11",
"direct": "20",
"collsion_max_week_money": "35000",
"collision_max_day_money": "7000",
"collsion_caculate": "10",
"collision_pv": "90",
"conllision_level": "10",
"static_day_end": "300",
"static_continuation_day": "75",
"static_pay_money": "35",
"saving": "20",
"retirement_commissions": "32.40",
"retirement_money": "99.00",
"svaing_max": "1000",
"max_user": "31"
},
{
"packages_id": "4",
"name": "silver",
"money": "15000",
"chinese": "银",
"matrix_reward": "10",
"matrix_level": "18",
"direct": "20",
"collsion_max_week_money": "40000",
"collision_max_day_money": "8000",
"collsion_caculate": "10",
"collision_pv": "90",
"conllision_level": "10",
"static_day_end": "375",
"static_continuation_day": "75",
"static_pay_money": "35",
"saving": "20",
"retirement_commissions": "32.40",
"retirement_money": "99.00",
"svaing_max": "1000",
"max_user": "31"
},
{
"packages_id": "5",
"name": "gold",
"money": "30000",
"chinese": "金",
"matrix_reward": "10",
"matrix_level": "18",
"direct": "20",
"collsion_max_week_money": "45000",
"collision_max_day_money": "9000",
"collsion_caculate": "10",
"collision_pv": "90",
"conllision_level": "10",
"static_day_end": "450",
"static_continuation_day": "75",
"static_pay_money": "35",
"saving": "20",
"retirement_commissions": "32.40",
"retirement_money": "99.00",
"svaing_max": "1000",
"max_user": "31"
},
{
"packages_id": "6",
"name": "platinum",
"money": "50000",
"chinese": "白金",
"matrix_reward": "10",
"matrix_level": "18",
"direct": "20",
"collsion_max_week_money": "50000",
"collision_max_day_money": "10000",
"collsion_caculate": "10",
"collision_pv": "90",
"conllision_level": "10",
"static_day_end": "525",
"static_continuation_day": "75",
"static_pay_money": "35",
"saving": "20",
"retirement_commissions": "32.40",
"retirement_money": "99.00",
"svaing_max": "1000",
"max_user": "31"
}
]
}
~~~
失败响应示列:
~~~
{
"code": 2001,
"message": "响应错误",
"data":false
}
~~~