简要描述:
- 连锁店首页
请求URL:
GET/plugin.store-cashier.frontend.boss.center.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
store_boss: {
id: 19,
uid: 16,
has_one_member: {
uid: 16,
nickname: "芸众商城系统-韦平",
mobile: "",
realname: "",
avatar: "http://thirdwx.qlogo.cn/mmopen/vi_32/nRJmCBppMnaiaH8EJDiaRSXxWmZBic9b3LNG9SZxQeM2Sfwye8tbaqazFoVHSvcvhGTv8RnsicW9vSW5AorbbqkZxg/132"
}
},
statistics: {
store_count: 1,
order_count: 8,
order_price: "3000.01",
amount_total: "4800.06"
}
}
}
错误时返回:
{
result: 0,
msg: "未找到连锁店信息",
data: [ ]
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
store_boss->has_one_member->nickname | string | 连锁店会员昵称 |
store_boss->has_one_member->avatar | string | 连锁店会员头像 |
store_boss->id | int | 连锁店老板id |
statistics->store_count | int | 门店数量 |
store_boss->order_count | int | 订单数量 |
store_boss->order_price | float | 订单金额 |
store_boss->amount_total | float | 收入金额 |
备注:
- 更多返回错误代码请看首页的错误代码描述