简要描述:
- 招商中心统计接口
请求域名:
- http://test.yunzshop.com
请求URL:
POST: addons/yun_shop/api.php?i=6&route=plugin.merchant.frontend.merchant.get-merchant-statistic
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
i | 是 | int | 店铺ID |
merchant_type | 否 | int | 空或0 招商员统计 1:招商中心统计 |
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
yesterday: 0,
today: 0,
this_week: 0,
this_month: "6.03"
}
}
错误时返回:
{
"result":0,
"msg":"未检测到数据!",
"data": {
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
yesterday | float | 昨天 |
today | float | 今天 |
this_week | float | 本周 |
this_month | float | 本月 |
备注:
- 更多返回错误代码请看首页的错误代码描述