简要描述:
- 师傅详情页面
请求域名:
- http://xx.com
请求URL:
plugin.live-install.frontend.worker-list.getWorkerDetail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
worker_id | 是 | int | 师傅id |
正确时返回:
{
"result": 1,
"msg": "获取成功",
"data": {
"id": 2,
"uniacid": 1,
"uid": 33,
"is_black": 0,
"sum_order": 0,
"settle_order": 0,
"name": "a",
"id_card_number": "447179999980822231",
"id_card_image": "a:2:{s:5:\"front\";s:53:\"images/1/2022/11/046d8b5e840c7daab9de3095272a95bb.jpg\";s:4:\"back\";s:53:\"images/1/2022/05/790c3fdc054c3d23d30a4c7ddb3ff04a.jpg\";}",
"mobile": "12345678901",
"province": "山西省",
"city": "阳泉市",
"district": "平定县",
"street": "冶西镇",
"province_id": 140000,
"city_id": 140300,
"district_id": 140321,
"street_id": 140321101,
"address": "",
"longitude": "113.275995",
"latitude": "23.117055",
"source": 0,
"created_at": "2025-06-03 09:51:06",
"updated_at": "2025-06-03 09:51:06",
"deleted_at": nu
"level_id": 0,
"birthday": "2020-01-10 00:00:00",
"native_place": "a",
"nation": "b",
"height": "",
"zodiac": "",
"constellation": "",
"personal_image": "http://www.shop777.com/static/upload/images/1/2025/03/80ee7f2b1f5e194fe5517931621b3314.gif",
"is_order": 1,
"worker_type": [
{
"name": "v"
}
],
"service_label": [
{
"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"
}
],
"work_time": [
{
"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"
}
],
"work_age": "1年工作经验",
"education": "da",
"language_ability": "ad",
"cooking_ability": "ad",
"certificate": [],
"self_introduction": "adasd",
"family_situation": "adsdasd",
"work_experience": [
{
"type": "a",
"entry_time": "dad",
"leave_time": "asdas",
"content": "dad"
}
],
"is_collect": true,
"age": "5岁"
},
}
错误时返回:
{
"result": 0,
"msg": "具体错误原因",
"data": {}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
result | integer | 接口状态码(1表示成功) |
msg | string | 接口返回消息 |
data | object | 工作者详细信息 |
工作者基本信息 | ||
data.id | integer | 工作者唯一ID |
data.uniacid | integer | 所属平台ID |
data.uid | integer | 用户ID |
data.is_black | integer | 黑名单状态(0:正常) |
data.sum_order | integer | 总订单数 |
data.settle_order | integer | 已结算订单数 |
data.name | string | 姓名 |
data.id_card_number | string | 身份证号 |
data.id_card_image | string | 身份证正反面图片(序列化数组) |
data.mobile | string | 手机号 |
data.province | string | 省份 |
data.city | string | 城市 |
data.district | string | 区县 |
data.street | string | 街道 |
data.province_id | integer | 省份ID |
data.city_id | integer | 城市ID |
data.district_id | integer | 区县ID |
data.street_id | integer | 街道ID |
data.address | string | 详细地址 |
data.longitude | string | 经度 |
data.latitude | string | 纬度 |
data.source | integer | 来源渠道 |
data.created_at | string | 创建时间 |
data.updated_at | string | 最后更新时间 |
data.deleted_at | null | 删除时间(null表示未删除) |
data.level_id | integer | 等级ID |
data.birthday | string | 生日 |
data.native_place | string | 籍贯 |
data.nation | string | 民族 |
data.height | string | 身高 |
data.zodiac | string | 生肖 |
data.constellation | string | 星座 |
data.personal_image | string | 个人形象照片URL |
data.is_order | integer | 接单状态(1:可接单) |
data.work_age | string | 工作年限 |
data.education | string | 教育程度 |
data.language_ability | string | 语言能力 |
data.cooking_ability | string | 烹饪能力 |
data.certificate | array | 证书图片URL列表(空数组) |
data.self_introduction | string | 自我介绍 |
data.family_situation | string | 家庭情况 |
data.age | string | 年龄 |
data.is_collect | boolean | 是否已收藏(本次新增字段),true已收藏,false未收藏 |
工作者类型 | ||
data.worker_type | array | 工作者类型列表 |
data.worker_type[].name | string | 工作者类型名称 |
服务标签 | ||
data.service_label | array | 服务标签列表 |
data.service_label[].id | integer | 服务标签ID |
data.service_label[].uniacid | integer | 所属平台ID |
data.service_label[].sort | integer | 排序号 |
data.service_label[].name | string | 服务标签名称 |
data.service_label[].is_show | integer | 是否显示(1:显示) |
工作时间 | ||
data.work_time | array | 工作时间设置 |
data.work_time[].id | integer | 工作时间ID |
data.work_time[].uniacid | integer | 所属平台ID |
data.work_time[].sort | integer | 排序号 |
data.work_time[].name | string | 工作时间名称 |
data.work_time[].is_show | integer | 是否显示(1:显示) |
工作经验 | ||
data.work_experience | array | 工作经验列表 |
data.work_experience[].type | string | 工作类型 |
data.work_experience[].entry_time | string | 入职时间 |
data.work_experience[].leave_time | string | 离职时间 |
data.work_experience[].content | string | 工作内容 |