简要描述:

获取受访详情视图以及受访详情页数据

请求域名:

  • http://xx.com

请求URL:

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

搜索传参说明:

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

返回示例:

正确时返回的数据:

{
    "result": 1,
    "msg": "获取数据成功",
    "data": {
        "info": {
            "title": "goods353",
            "thumb": "",
            "price": 0,
            "page_type": "商品"
        },
        "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": "音频文章"
            }
        ],
        "list": [
            {
                "access_time": {
                    "date": "2021-03-19 13:54:52.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:50:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:49:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:46:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            },
            {
                "access_time": {
                    "date": "2021-03-19 11:30:28.000000",
                    "timezone_type": 3,
                    "timezone": "PRC"
                },
                "cookie_type": "新访客",
                "name": null,
                "port_name": "Wap",
                "ip_name": "未知"
            }
        ],
        "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.getDetailData&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.getDetailData&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.getDetailData&page_type=goods&page_type_id=353&page=2\" class=\"pager-nav\">尾页</a></li><li><input type='text' id='jump' style='width: 25px; height: 25px;'></li><li><a onclick =getkey(this,2)  class=\"pager-nav\" style='float: right;'  >跳转</a></li></ul></div>",
        "search": null
    }
}

错误时返回的数据:

{
    "result": 0,
    "msg": "参数错误",
    "data": []
}

返回参数说明:

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

备注:

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