简要描述:
- pos收银-获取设置
请求域名:
- http://xx.com
请求URL:
xx.com/business/{公众号id}/plugin/StorePos/clerkDayLog
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
search_data[department_id] | 否 | int | 部门ID |
search_data[staff_name] | 否 | string | 成员姓名 |
search_data[start_time] | 否 | int | 开始时间戳 |
search_data[end_time] | 否 | int | 结束时间戳 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [{
"clerk_id": 1,
"day": "20230609",
"has_one_clerk": {
"id": 1,
"staff_id": 78,
"has_one_staff": {
"id": 78,
"name": "许家健",
"userid": null,
"avatar_mediaid": null
}
},
"order_count": 2,
"cashier_count": 0,
"check_count": 1,
"order_amount": 54,
"cashier_amount": 0,
"check_amount": 27
}],
"first_page_url": "https:\/\/dev8.yunzmall.com\/business\/1\/plugin\/StorePos\/clerkDayLog?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https:\/\/dev8.yunzmall.com\/business\/1\/plugin\/StorePos\/clerkDayLog?page=1",
"next_page_url": null,
"path": "https:\/\/dev8.yunzmall.com\/business\/1\/plugin\/StorePos\/clerkDayLog",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 1
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.data[order_amount] | float | 门店订单金额 |
data.data[cashier_amount] | float | 收银台订单金额 |
data.data[check_amount] | float | 核销订单金额 |
data.data[order_count] | int | 门店订单数量 |
data.data[cashier_count] | int | 收银台订单数量 |
data.data[check_count] | int | 核销订单数量 |
data.data[has_one_staff].name | string | 成员姓名 |