简要描述:

获取受访列表视图以及受访列表页数据

请求域名:

  • http://xx.com

请求URL:

GET/plugin.browse-footprint.admin.index.index(获取视图)
POST/plugin.browse-footprint.admin.index.getIndexData(获取数据)

搜索传参说明:

参数名 类型 是否为空 说明
search[time_type] int 时间:1-今天 2-昨天 3-最近7天 4-最近30天 5-自定义
search[s_div_time] string 自定义开始时间
search[e_div_time] string 自定义结束时间
search[page_type] string 页面类型
search[port_type] string 端口类型

返回示例:

正确时返回的数据:

{
    "result": 1,
    "msg": "获取数据成功",
    "data": {
        "index_overview": {
            "page_view": 407,
            "unique_visitor": 51,
            "ip_view": 5,
            "member_view": 21,
            "tourists_view": 23
        },
        "page_type_arr": [
            {
                "key": "goods",
                "value": "商品"
            },
            {
                "key": "grabGroup",
                "value": "抢团商品"
            },
            {
                "key": "groupBuy",
                "value": "拼购商品"
            },
            {
                "key": "groups",
                "value": "拼团商品"
            },
            {
                "key": "articleContent",
                "value": "文章"
            },
            {
                "key": "voiceDetail",
                "value": "音频文章"
            }
        ],
        "port_type_arr": [
            {
                "key": 5,
                "value": "Wap"
            },
            {
                "key": 1,
                "value": "微信公众号"
            },
            {
                "key": 2,
                "value": "微信小程序"
            },
            {
                "key": 7,
                "value": "APP"
            },
            {
                "key": 55,
                "value": "PC端"
            }
        ],
        "list": [
            {
                "title": "/member0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 76,
                "unique_visitor": 26,
                "ip_view": 4,
                "id": 258
            },
            {
                "title": "/home0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 47,
                "unique_visitor": 21,
                "ip_view": 4,
                "id": 1
            },
            {
                "title": "/footprintMember0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 41,
                "unique_visitor": 7,
                "ip_view": 1,
                "id": 256
            },
            {
                "title": "/login0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 36,
                "unique_visitor": 14,
                "ip_view": 3,
                "id": 20
            },
            {
                "title": "/notice0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 29,
                "unique_visitor": 5,
                "ip_view": 2,
                "id": 276
            },
            {
                "title": "/category0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 21,
                "unique_visitor": 9,
                "ip_view": 3,
                "id": 2
            },
            {
                "title": "德国宝马mini儿童头盔电动车电瓶摩托车头盔安全帽小孩子宝宝头盔",
                "thumb": "https://gd4.alicdn.com/imgextra/i1/0/TB1EFeSFVXXXXbpXpXXXXXXXXXX_!!0-item_pic.jpg",
                "price": "139.00",
                "page_type": "商品",
                "page_type_id": 353,
                "is_page_type": 1,
                "member_view": 1,
                "page_view": 20,
                "unique_visitor": 7,
                "ip_view": 2,
                "id": 3
            },
            {
                "title": "【演示】Huawei/华为nova 5 Pro超级夜景4800万AI四摄",
                "thumb": "http://dev.yz/static/yunshop/goods/images/CJPO2LPLg3lE66ZNKg2Pr6r62ER2nG.png",
                "price": "3000.00",
                "page_type": "商品",
                "page_type_id": 351,
                "is_page_type": 1,
                "member_view": 1,
                "page_view": 15,
                "unique_visitor": 4,
                "ip_view": 1,
                "id": 173
            },
            {
                "title": "footprintMemberDetail164746",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 164746,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 12,
                "unique_visitor": 1,
                "ip_view": 1,
                "id": 138
            },
            {
                "title": "/newDiy0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 11,
                "unique_visitor": 4,
                "ip_view": 1,
                "id": 318
            },
            {
                "title": null,
                "thumb": "",
                "price": 0,
                "page_type": "文章",
                "page_type_id": 25,
                "is_page_type": 1,
                "member_view": 1,
                "page_view": 10,
                "unique_visitor": 7,
                "ip_view": 2,
                "id": 277
            },
            {
                "title": "packageG/member_v2/member_v20",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 9,
                "unique_visitor": 3,
                "ip_view": 2,
                "id": 45
            },
            {
                "title": "packageA/detail_v2/detail_v20",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 8,
                "unique_visitor": 2,
                "ip_view": 2,
                "id": 47
            },
            {
                "title": "packageG/index/index0",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 0,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 6,
                "unique_visitor": 3,
                "ip_view": 2,
                "id": 44
            },
            {
                "title": "footprintMemberDetail164736",
                "thumb": "",
                "price": 0,
                "page_type": "其他",
                "page_type_id": 164736,
                "is_page_type": 2,
                "member_view": 1,
                "page_view": 5,
                "unique_visitor": 3,
                "ip_view": 1,
                "id": 23
            }
        ],
        "pager": "<div><ul class=\"pagination pagination-centered\"><li class=\"active\"><a href=\"javascript:;\">1</a></li><li><a href=\"?c=site&a=entry&m=yun_shop&do=2926&route=plugin.browse-footprint.admin.index.getIndexData&page_type=goods&page_type_id=353&page=2\">2</a></li><li><a href=\"?c=site&a=entry&m=yun_shop&do=2926&route=plugin.browse-footprint.admin.index.getIndexData&page_type=goods&page_type_id=353&page=3\">3</a></li><li><a href=\"?c=site&a=entry&m=yun_shop&do=2926&route=plugin.browse-footprint.admin.index.getIndexData&page_type=goods&page_type_id=353&page=4\">4</a></li><li><a href=\"?c=site&a=entry&m=yun_shop&do=2926&route=plugin.browse-footprint.admin.index.getIndexData&page_type=goods&page_type_id=353&page=2\" class=\"pager-nav\">下一页&raquo;</a></li><li><a href=\"?c=site&a=entry&m=yun_shop&do=2926&route=plugin.browse-footprint.admin.index.getIndexData&page_type=goods&page_type_id=353&page=4\" class=\"pager-nav\">尾页</a></li><li><input type='text' id='jump' style='width: 25px; height: 25px;'></li><li><a onclick =getkey(this,4)  class=\"pager-nav\" style='float: right;'  >跳转</a></li></ul></div>",
        "search": null
    }
}

返回参数说明:

参数名 类型 说明
index_overview array 指标概览
page_type_arr array 页面类型
port_type_arr array 端口类型
list[is_page_type] int 1-显示标题,图标价格等 2-拼接url

备注:

  • 更多返回错误代码请看首页的错误代码描述