简要描述:

  • 分红统计接口

请求域名:

  • http://test.yunzshop.com

请求URL:

POST: plugin.shareholder-dividend.api.shareholder.get-shareholder-statistic

参数:

参数名 是否必须 类型 说明
i int 店铺ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "set": {
            "custom_name": "股东分红222",
            "is_shareholder": "1"
        },
        "amountTotal": "87.73",
        "team_level": "经销商等级四"
    }
}

错误时返回:

{
    "result":0,
    "msg":"未检测到数据!",
    "data": {
    }
}

返回参数说明:

参数名 类型 说明
amountTotal float 分红总额
team_level string 等级名称
custom_name string 插件自定义名称
is_shareholder int 插件开启状态:1-开启,0-关闭

备注:

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