简要描述:

  • 根据门店ID获取未来全部有时间段的日期列表

请求URL:

GET/plugin.appointment.frontend.work-time.get-work-dates

参数:

参数名 是否必须 类型 说明
store_id int 门店ID
project_id int 项目id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": [
        {
            "work_date_format": "2020-01-03",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-04",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-05",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-06",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-07",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-08",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-09",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-10",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-11",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-12",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-13",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-14",
            "work_sattus": 0
        },
        {
            "work_date_format": "2020-01-17",
            "work_sattus": 0
        }
    ]
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
work_date_format string 日期
work_sattus int 状态 0:正常 1:休息

备注:

  • 更多返回错误代码请看首页的错误代码描述