简要描述:

前端心跳轮询该接口更新视频观看时间

请求域名:

  • http://xx.com

请求URL:

POST/plugin.video-promotion-rewards.frontend.income.getInfo

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "member_info": {
            "avatar": "http://www.shop777.com/static/images/photo-mr.jpg",
            "nickname": "13*******15",
            "level_name": "普通会员",
            "reward_price": 0,
            "count_reward": 0
        },
        "list": {
            "current_page": 1,
            "data": [
			                {
                    "id": 1,
                    "goods_price": "20.00",
                    "order_sn": null,
                    "finish_time": "2024-09-07 17:28:02",
                    "goods_title": "测试22233"
                }
			],
            "first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
            "from": null,
            "last_page": 1,
            "last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
            "links": [
                {
                    "url": null,
                    "label": "« 上一页",
                    "active": false
                },
                {
                    "url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "下一页 »",
                    "active": false
                }
            ],
            "next_page_url": null,
            "path": "http://www.shop777.com/addons/yun_shop/api.php",
            "per_page": 15,
            "prev_page_url": null,
            "to": null,
            "total": 0
        }
    }
}

返回参数说明:

参数名 类型 说明
member_info.avatar string 会员头像
    |member_info.avatar|string|会员头像|
    |member_info.nickname|string|会员昵称|
    |member_info.level_name|string|会员等级|
    |member_info.reward_price|string|会员累计获得佣金|
    |member_info.count_reward|string|会员累计获得佣金次数|
     |list.data[n].id|int|权益ID|
     |list.data[n].goods_price|string|商品价格|
     |list.data[n].order_sn|string|订单号|
     |list.data[n].finish_time|string|订单完成时间|
     |list.data[n].goods_title|string|商品名称|