简要描述:

  • 首页

请求域名:

  • http://xx.com

请求URL:

GET/plugin.customer-center.frontend.controllers.index.index

返回示例:

正确时返回:

  {
    "result": 1,
    "msg": "ok",
    "data": {
        "member": {
            "nickname": "刘备",
            "mobile": "18945236489",
            "avatar_image": "http://yzhonshop.com/static/images/photo-mr.jpg",
            "uid": 2,
            "level_name": "中人",
            "invite_code": "NSAQDVEI",
            "superior_info": {
                "nickname": "14*******67",
                "avatar_image": "http://yzhonshop.com/static/images/photo-mr.jpg",
                "uid": 3,
                "level_name": "高人",
                "mobile": "14718159267",
                "wechat": "yyp"
            }
        },
        "referral": {
            "child_total": 3,
            "team_total": 4,
            "child_order_money": 0,
            "team_order_money": 0,
            "total_amount": "702.85",
            "today_amount": 0,
            "indirect_team": 1
        },
        "plugins": [
            {
                "title": "视频分享",
                "plugin_name": "video-share"
            },
            {
                "title": "微社区",
                "plugin_name": "micro-communities"
            }
        ],
        "open_browse_footprint": false,
		"open_user_info_button": true
    }
}

member[]返回参数说明:

参数名 类型 说明
nickname string 昵称
mobile string 电话号码
avatar_image string 头像
level_name string 等级名称
invite_code string 邀请码
superior_info array 上级

referral[]统计信息

参数名 类型 说明
child_total int 客户数量(直推数量)
mobile int 总客户数量
child_order_money float 客户订单
team_order_money float 总客户订单
total_amount float 总收入
today_amount float 当天收入
indirect_team int 间推数量

plugins[]插件信息

参数名 类型 说明
title string 插件名
plugin_name string 插件标识

open_browse_footprint 轨迹追踪是否可用

参数名 类型 说明
open_browse_footprint bool true:可用,false:不可用

open_user_info_button 用户信息是否开启可查看

参数名 类型 说明
open_user_info_button bool true:开,false:关

备注:

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