简要描述:

  • pos收银-获取设置

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号id}/plugin/StorePos/clerkSumLog

参数:

参数名 是否必须 类型 说明
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": {
		"list": {
			"current_page": 1,
			"data": [{
				"id": 1,
				"uniacid": 1,
				"business_id": 6,
				"staff_id": 78,
				"store_id": 4,
				"last_login_time": "2023-06-07 08:55:13",
				"created_at": "2023-06-05 14:57:49",
				"updated_at": "2023-06-07 08:55:13",
				"deleted_at": null,
				"order_amount": 0,
				"cashier_amount": 0,
				"check_amount": 0,
				"order_count": 0,
				"cashier_count": 0,
				"check_count": 0,
				"has_one_staff": {
					"id": 78,
					"name": "许家健",
					"userid": null,
					"avatar_mediaid": null
				}
			}],
			"first_page_url": "https:\/\/dev8.yunzmall.com\/business\/1\/plugin\/StorePos\/clerkSumLog?page=1",
			"from": 1,
			"last_page": 1,
			"last_page_url": "https:\/\/dev8.yunzmall.com\/business\/1\/plugin\/StorePos\/clerkSumLog?page=1",
			"next_page_url": null,
			"path": "https:\/\/dev8.yunzmall.com\/business\/1\/plugin\/StorePos\/clerkSumLog",
			"per_page": 15,
			"prev_page_url": null,
			"to": 1,
			"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 成员姓名