简要描述:

  • 单个客户浏览轨迹详情

请求域名:

  • http://xx.com

请求URL:

POST/plugin.customer-center.frontend.controllers.browse.get-member-browse-details

参数:

参数名 是否必须 类型 说明
member_id int 用户id
start_date string 2022-09-21
end_date string 2022-09-23

返回示例:

正确时返回:

  {
    "result": 1,
    "msg": "ok",
    "data": {
        "browse_details_list": {
            "current_page": 1,
            "data": [
                {
                    "url": "https://dev5.yunzmall.com/addons/yun_shop/?menu#/member/orderList/0/store?i=1&type=5&shop_id&mid=7",
                    "created_at": "2022-09-22 15:06:34",
                    "second": -1,
                    "port_type": 5,
                    "page_type_id": 0,
                    "page_type": "未知类型",
                    "port_name": "Wap",
                    "title": "未查询到信息"
                },
                {
                    "url": "https://dev5.yunzmall.com/addons/yun_shop/?menu#/member/membergradelist?i=1&type=5&shop_id&mid=1",
                    "created_at": "2022-09-22 14:46:29",
                    "second": -1,
                    "port_type": 5,
                    "page_type_id": 0,
                    "page_type": "未知类型",
                    "port_name": "Wap",
                    "title": "未查询到信息"
                }
            ],
            "first_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
            "from": 1,
            "last_page": 21,
            "last_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=21",
            "next_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=2",
            "path": "http://yzhonshop.com/addons/yun_shop/api.php",
            "per_page": 15,
            "prev_page_url": null,
            "to": 15,
            "total": 307
        },
        "customer_details": {
            "nickname": "14*******67",
            "mobile": "14718159267",
            "avatar": "/static/images/photo-mr.jpg",
            "uid": 3,
            "wechat": "yyp",
            "avatar_image": "http://yzhonshop.com/static/images/photo-mr.jpg",
            "username": "14*******67"
        },
        "display_set": {
            "wechat": 1,
            "phone": 0,
            "is_referrer": "1",
            "is_recommend_wechat": "1"
        }
    }
}

browse_details_list[]返回参数说明:

参数名 类型 说明
url string 访问的url
created_at string 访问的时间
second int 当前第几次访问,-1是未知
page_type string 访问类型
port_name string 端口名称
title string 页面标题

customer_details[]返回参数说明:

参数名 类型 说明
nickname string 昵称
mobile string 电话
uid int 用户id
avatar_image string 头像
wechat string 微信号

display_set[]返回参数说明:

参数名 类型 说明
wechat int 1显示微信图标,0不显示
phone int 1显示手机图标,0不显示

备注:

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