简要描述:
请求域名:
请求URL:
GET/&route=plugin.be-within-call.frontend.buy-package.index
参数:
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取数据成功",
"data": {
"balance": "514.61",
"package_list": [
{
"name": "按单次单条信息费用",
"value": 11,
"fee": "10",
"valid_num": 99999999,
"valid_day": "永久",
"need_pay": 0,
"desc": "单次单条信息费用10元/条"
},
{
"name": "按点击量收费",
"value": 22,
"fee": "1",
"valid_num": 99999999,
"valid_day": "永久",
"least_balance": "100",
"need_pay": 0,
"desc": "每个用户点击1次收费1元,余额需满100元"
},
{
"name": "按季度信息数量收费套餐",
"value": 33,
"valid_num": "40",
"fee": "400",
"valid_day": 90,
"need_pay": 1,
"desc": "季度信息数量40,收费400元,有效期90天"
},
{
"name": "按年度信息数量收费套餐",
"value": 44,
"valid_num": "365",
"fee": "3000",
"valid_day": 365,
"need_pay": 1,
"desc": "年度信息数量365,收费3000元,有效期365天"
}
]
}
}
返回参数说明:
data参数说明:
参数名 |
类型 |
说明 |
balance |
int |
会员余额 |
package_list |
array |
套餐可选列表 |
package_list参数说明:
参数名 |
类型 |
说明 |
value |
int |
套餐标识值 |
name |
string |
套餐名称 |
fee |
int |
费用 |
need_pay |
string |
是否需要支付:1是0否 |
desc |
string |
套餐描述 |
备注: