简要描述:

  • 分销商佣金接口

请求域名:

  • http://test.yunzshop.com

请求URL:

POST/app/index.php?i=6&c=entry&do=sd&m=yun_shop&&route=plugin.commission.api.commission.get-commission

参数:

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

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取数据成功!",
    "data": {
        "total": "7777.50",
        "expect": "3629.50",
        "unliquidated": 0,
        "liquidated": "4148.00",
        "not_yet_withdrawed": 0,
        "withdrawed": 0,
		"is_manage": 0,
		"manage": 0
    }
}

错误时返回:

{
    "result":0,
    "msg":"未检测到数据!",
    "data": {
        "total": "0",
        "expect": "0",
        "unliquidated": 0,
        "liquidated": "0",
        "not_yet_withdrawed": 0,
        "withdrawed": 0,
		"is_manage": 0,
		"manage": 0
    }
}

返回参数说明:

参数名 类型 说明
total float 累计佣金
expect float 预计佣金
unliquidated float 未结束佣金
liquidated float 已结算佣金
not_yet_withdrawed float 未提现佣金
withdrawed float 已提现佣金
is_manage int 0:关闭 1:开启
manage float 管理奖

备注:

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