简要描述:
考试功能基础信息获取
请求域名:
- http://xx.com
请求路由:
GET/&route=plugin.data-stats-component.api.stats.getShopInfo
请求参数说明:
| 参数名 | 类型 | 是否必需 | 说明 |
|---|---|---|---|
| show_ratio | 浮点类型 | 否 | 全局计算比例 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"member_count": 36,
"store_count": 18,
"month_total_sales": "2101.00",
"public_total_sales": 0,
"private_total_sales": 0,
"public_total_queue_num": 0
}
}
返回参数说明:
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
member_count |
int | 会员总数 | |
store_count |
int | 门店总数 | |
month_total_sales |
string | 当月销售额度 | |
public_total_sales |
string | 公排销售额 | |
private_total_sales |
string | 私排销售额 | |
public_total_queue_num |
int | 公排排队人数 |