简要描述:

  • 申请成为安装师傅页面数据

请求域名:

  • http://xx.com

请求URL:

plugin.live-install.frontend.worker-apply.getWorkerApply

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取成功",
    "data": {
        "another_name": {
            "plugin_name": "上门安装",
            "worker_name": "安装师傅",
            "custom_name": "安装"
        },
        "slide_list": [],
        "apply_text": "",
        "apply_data": {
            "apply_id": 1,
            "apply_time": "2025-05-29T07:35:01.000000Z",
            "apply_state": 1,
            "step_list": [
                {
                    "name": "基础信息",
                    "status": 1
                },
                {
                    "name": "能力资源",
                    "status": 1
                },
                {
                    "name": "背景与经历",
                    "status": 1
                }
            ],
            "worker_type_list": [
                {
                    "id": 1,
                    "uniacid": 1,
                    "sort": 22,
                    "name": "aac",
                    "is_show": 1,
                    "small_link": null,
                    "created_at": "2025-05-27 10:31:43",
                    "updated_at": "2025-05-27 17:31:54"
                },
                {
                    "id": 3,
                    "uniacid": 1,
                    "sort": 2,
                    "name": "v",
                    "is_show": 1,
                    "small_link": null,
                    "created_at": "2025-05-27 15:08:05",
                    "updated_at": "2025-05-27 15:08:05"
                },
                {
                    "id": 2,
                    "uniacid": 1,
                    "sort": 1,
                    "name": "a",
                    "is_show": 1,
                    "small_link": null,
                    "created_at": "2025-05-27 15:07:58",
                    "updated_at": "2025-05-27 15:07:58"
                }
            ],
            "worker_tag_list": [
                {
                    "id": 4,
                    "uniacid": 1,
                    "sort": 3,
                    "name": "a",
                    "is_show": 1,
                    "created_at": "2025-05-27 17:33:31",
                    "updated_at": "2025-05-27 17:33:31"
                },
                {
                    "id": 2,
                    "uniacid": 1,
                    "sort": 2,
                    "name": "a",
                    "is_show": 1,
                    "created_at": "2025-05-27 17:31:35",
                    "updated_at": "2025-05-27 17:31:35"
                },
                {
                    "id": 3,
                    "uniacid": 1,
                    "sort": 1,
                    "name": "a",
                    "is_show": 1,
                    "created_at": "2025-05-27 17:33:16",
                    "updated_at": "2025-05-27 17:33:16"
                },
                {
                    "id": 5,
                    "uniacid": 1,
                    "sort": 1,
                    "name": "q",
                    "is_show": 1,
                    "created_at": "2025-05-28 14:28:32",
                    "updated_at": "2025-05-28 14:28:32"
                }
            ],
            "worker_time_list": [
                {
                    "id": 3,
                    "uniacid": 1,
                    "sort": 4,
                    "name": "t",
                    "is_show": 1,
                    "created_at": "2025-05-28 14:49:11",
                    "updated_at": "2025-05-28 14:49:11"
                },
                {
                    "id": 2,
                    "uniacid": 1,
                    "sort": 2,
                    "name": "r",
                    "is_show": 1,
                    "created_at": "2025-05-28 14:49:04",
                    "updated_at": "2025-05-28 14:49:04"
                }
            ]
        }
    }
}

错误时返回:

{
    "result": 0,
    "msg": "",
    "data": {}
}

新增参数说明:

参数名 类型 说明
apply_state int 步骤设置,0默认设置,1分步骤设置
data->step_list[ ]->name string 步骤名称
data->step_list[ ]->status int 是否开启步骤,1开启。0关闭
worker_type_list array 师傅类型数组
worker_tag_list array 服务标签数组
worker_time_list array 工作时间数组
name string 师傅类型/服务标签/工作时间标签