简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
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": 11,
                "action_type": 2,
                "amount": "NT$ 11000",
                "remark": "",
                "created_at": "2026-04-01 21:27:44",
                "action_type_msg": "关账",
                "employee_name": "店長"
            },
            {
                "id": 10,
                "action_type": 4,
                "amount": "NT$ 1000",
                "remark": "支出1000",
                "created_at": "2026-04-01 21:23:44",
                "action_type_msg": "支出",
                "employee_name": "店長"
            },
            {
                "id": 9,
                "action_type": 4,
                "amount": "NT$ 1000",
                "remark": "支出1000",
                "created_at": "2026-04-01 21:23:32",
                "action_type_msg": "支出",
                "employee_name": "店長"
            },
            {
                "id": 6,
                "action_type": 3,
                "amount": "NT$ 1000",
                "remark": "收入1000",
                "created_at": "2026-04-01 21:22:25",
                "action_type_msg": "收入",
                "employee_name": "店長"
            },
            {
                "id": 5,
                "action_type": 1,
                "amount": "NT$ 10000",
                "remark": "",
                "created_at": "2026-04-01 21:20:51",
                "action_type_msg": "开账",
                "employee_name": "店長"
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 7
    },
    "other": []
}

错误时返回:

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

返回参数说明:

参数名 类型 说明
id string id
action_type string 类型
amount string 金额
remark string 备注
created_at string 时间
action_type_msg string 类型提示
employee_name string 操作者

备注:

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