简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.team-analysis.frontend.index.index

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
	    "uid":164935,
        "nickname": "夜色初明时",
        "avatar_image": "https://thirdwx.qlogo.cn/mmopen/vi_32/07nPdaFGXxxLaryp6hWDicJAz6oYdU7eoJwPJ54SBt5BS6gdy20KEibttYYfV49lognuVqmZeMXsw1NPMdicP3kgA/132",
        "level_name": "经销商等级二 省",
        "sum_income": "204.30",
        "balance": "998410.92",
        "month_income": {
            "finish": 0,
            "wait": 0,
            "sum": "0.00"
        },
        "day_income": {
            "finish": 0,
            "wait": 0,
            "sum": "0.00"
        },
        "sum_order": "3578.71",
        "month_order": {
            "finish": 0,
            "wait": 0,
            "sum": "0.00"
        },
        "day_order": {
            "finish": 0,
            "wait": 0,
            "sum": "0.00"
        },
        "group_count": 6,
        "group_count_list": [
            {
                "level_name": "顾客",
                "count": 4
            },
            {
                "level_name": "经销商等级一  市",
                "0": 1
            },
            {
                "level_name": "经销商等级二 省",
                "0": 1
            },
            {
                "level_name": "经销商等级三 国",
                "0": 0
            }
        ],
		"month_timestamp":{
		   "start_time":1655174641,
		   "end_time":1655174641,
		},
		"day_timestamp":{
		   "start_time":1655174641,
		   "end_time":1655174641,
		}
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
uid int 会员ID
nickname string 会员昵称
avatar_image string 头像图片
level_name string 经销商等级名
sum_income float 累计总收益
balance float 余额
month_income object 我的收入(月)
month_income.finish 已结算
month_income.wait 未结算
month_income.sum 总收入
day_income object 我的收入(天)
sum_order float 累计总业绩
month_order object 当前业绩(月)
day_order object 当前业绩(天)
group_count int 团队人数
group_count_list arr 团队人数统计
group_count_list[level_name] string 等级名
group_count_list[count] string 等级人数
month_timestamp object 本月起始结束时间戳
day_timestamp object 本日起始结束时间戳