简要描述:

  • 企业-套餐记录

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.be-within-call.frontend.enterprise.package-log

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "list",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 3,
                "uniacid": 6,
                "member_id": 2462,
                "pay_sn": "",
                "operate_name": "后端修改",
                "pay_type_id": 0,
                "type": 22,
                "valid_num": 99999999,
                "valid_time": null,
                "fee": "1.00",
                "desc": "每个用户点击1次收费1元,余额需满100元",
                "other_data": {
                    "name": "按点击量收费",
                    "value": 22,
                    "fee": "1",
                    "valid_num": 99999999,
                    "valid_day": "永久",
                    "least_balance": "100",
                    "desc": "每个用户点击1次收费1元,余额需满100元"
                },
                "status": 2,
                "created_at": "2023-03-21 09:16:59",
                "status_name": "失效",
                "type_name": "按点击量收费",
                "pay_type_name": "后端修改",
                "has_one_pay_type": {
                    "id": 0,
                    "name": "未支付",
                    "plugin_id": 0,
                    "code": "unPay",
                    "type": 0,
                    "unit": "",
                    "updated_at": "2019-04-15 12:07:20",
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "",
                    "need_password": 0,
                    "group_id": 2
                }
            },
            {
                "id": 2,
                "uniacid": 6,
                "member_id": 2462,
                "pay_sn": "",
                "operate_name": "后端修改",
                "pay_type_id": 0,
                "type": 33,
                "valid_num": 40,
                "valid_time": 1687017600,
                "fee": "400.00",
                "desc": "季度信息数量40,收费400元,有效期90天",
                "other_data": {
                    "name": "按季度信息数量收费套餐",
                    "value": 33,
                    "valid_num": "40",
                    "fee": "400",
                    "valid_day": 90,
                    "desc": "季度信息数量40,收费400元,有效期90天"
                },
                "status": 2,
                "created_at": "2023-03-20 18:31:35",
                "status_name": "失效",
                "type_name": "按季度信息数量收费套餐",
                "pay_type_name": "后端修改",
                "has_one_pay_type": {
                    "id": 0,
                    "name": "未支付",
                    "plugin_id": 0,
                    "code": "unPay",
                    "type": 0,
                    "unit": "",
                    "updated_at": "2019-04-15 12:07:20",
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "",
                    "need_password": 0,
                    "group_id": 2
                }
            },
            {
                "id": 1,
                "uniacid": 6,
                "member_id": 2462,
                "pay_sn": "",
                "operate_name": "后端修改",
                "pay_type_id": 0,
                "type": 11,
                "valid_num": 99999999,
                "valid_time": null,
                "fee": "10.00",
                "desc": "单次单条信息费用10元/条",
                "other_data": {
                    "name": "按单次单条信息费用",
                    "value": 11,
                    "fee": "10",
                    "valid_num": 99999999,
                    "valid_day": "永久",
                    "desc": "单次单条信息费用10元/条"
                },
                "status": 1,
                "created_at": "2023-03-20 18:25:54",
                "status_name": "使用中",
                "type_name": "按单次单条信息费用",
                "pay_type_name": "后端修改",
                "has_one_pay_type": {
                    "id": 0,
                    "name": "未支付",
                    "plugin_id": 0,
                    "code": "unPay",
                    "type": 0,
                    "unit": "",
                    "updated_at": "2019-04-15 12:07:20",
                    "created_at": null,
                    "deleted_at": null,
                    "setting_key": "",
                    "need_password": 0,
                    "group_id": 2
                }
            }
        ],
        "first_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://demo.yun.cn/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 3,
        "total": 3
    }
}

返回参数说明:

返回参数说明(分页):

参数名 类型 说明
current_page int 当前页数
per_page int 每页条数
to int 当前页条数
total int 总条数(直推人数)
data array 内容数据

data参数说明:

参数名 类型 说明
id int 套餐ID
type_name string 套餐名称
desc string 套餐描述
created_at string 时间
status_name string 状态

备注: