简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-04-01

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 凭证

请求参数:

参数名 是否必须 类型 说明
source string 1=pos 2=线上点餐 3=Ubereats 4=Foodpanda 5=自助點餐
store_id string 门店id
start_time string 开始时间
end_time string 结束时间
page string 页码
pagesize string 数量

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "ok",
    "data": {
        "list": [
            {
                "id": 9,
                "store_id": 2,
                "employee_id": 1,
                "day": "2026-02-09",
                "store_name": "大运店",
                "employee_name": "店長",
                "start_time_msg": "上班 15:22",
                "end_time_msg": "下班 21:22",
                "working_hours": "6小時 0分鐘"
            },
            {
                "id": 8,
                "store_id": 2,
                "employee_id": 1,
                "day": "2026-02-08",
                "store_name": "大运店",
                "employee_name": "店長",
                "start_time_msg": "上班 18:22",
                "end_time_msg": "下班 21:22",
                "working_hours": "3小時 0分鐘"
            },
            {
                "id": 7,
                "store_id": 2,
                "employee_id": 1,
                "day": "2026-02-07",
                "store_name": "大运店",
                "employee_name": "店長",
                "start_time_msg": "上班 15:28",
                "end_time_msg": "下班 18:28",
                "working_hours": "3小時 0分鐘"
            },
            {
                "id": 6,
                "store_id": 2,
                "employee_id": 1,
                "day": "2026-02-07",
                "store_name": "大运店",
                "employee_name": "店長",
                "start_time_msg": "上班 10:26",
                "end_time_msg": "下班 14:27",
                "working_hours": "4小時 0分鐘"
            }
        ],
        "page": 1,
        "pagesize": 12,
        "total": 4
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证错误"
}

返回参数说明:

参数名 类型 说明
id string id
store_id string 门店id
employee_id string 店员id
day string 日期
store_name string 门店名称
employee_name string 操作者
start_time_msg string 开始时间提示
end_time_msg string 下班时间提示
working_hours string 工作时长

备注:

作者:admin  创建时间:2026-04-01 22:11
最后编辑:admin  更新时间:2026-05-08 19:05
上一篇:
下一篇: