- 用户端
- 登录注册
- 服务
- 评价
- 基础配置
- 师傅
- 用户
- 订单
- 支付
- 广告
- 地区
- 搜索
- 管理后台
- 服务管理
- 用户管理
- 师傅管理
- 订单管理
- 广告管理
- 渠道设置
- 系统设置
- 应用管理
- 地区
- 财务管理
- 装修管理
- 师傅端
师傅详情
GET
/adminapi/staff.staff/detail
请求参数
Query 参数
id
integer
师傅id
Header 参数
token
string
必需
默认值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/staff.staff/detail?id=' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
师傅ID
skill_id
integer
技能id
goods_id
array[integer]
服务id
sn
string
师傅工号
name
string
师傅姓名
mobile
string
手机号码
sex
integer
性别
age
integer
年龄
staff_deposit
string
保证金
staff_earnings
string
佣金
identity_number
string
身份证号码
education
integer
学历
nation
integer
民族
identity_portrait_image
string
身份证人像面
identity_emblem_image
string
身份证国徽面
portrait_image
string
人像实拍
work_image
string
工作照
credentials_image
array[string]
证书
province_id
integer
省id
city_id
integer
市id
district_id
integer
区id
address
string
详细地址
longitude
string
经度
latitude
string
纬度
status
integer
必需
work_status
integer
必需
sort
integer
排序
channel
integer
必需
goods
array [object {3}]
服务信息
示例
{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": {
"id": 8,
"skill_id": 4,
"goods_id": [
17,
16,
15,
14
],
"sn": "0002",
"name": "李肆",
"mobile": "17876383401",
"password": "6884f5cc332770dab9232cc53ddf9efe",
"sex": 1,
"age": 18,
"staff_deposit": "9990.01",
"staff_earnings": "60.34",
"identity_number": "440981199911117822",
"education": 6,
"nation": 0,
"identity_portrait_image": "https://php-smjz.yixiangonline.com/uploads/images/20241107/202411071126390e0bc8676.png",
"identity_emblem_image": "https://php-smjz.yixiangonline.com/uploads/images/20241107/202411071126445e9ac5384.png",
"portrait_image": "https://php-smjz.yixiangonline.com/uploads/images/20241107/202411071126521adda3552.png",
"work_image": "https://php-smjz.yixiangonline.com/uploads/images/20241108/2024110811394545b959605.png",
"credentials_image": [
"https://php-smjz.yixiangonline.com/uploads/images/20241108/20241108113910070732413.png"
],
"province_id": 440000,
"city_id": 440100,
"district_id": 440113,
"address": "南业路90号",
"longitude": "113.38424",
"latitude": "22.93772",
"last_address_info": {
"province_id": "440000",
"city_id": "440100",
"district_id": "440113",
"address": "金坑路",
"longitude": 113.36805772569444,
"latitude": 23.01531955295139,
"province": "广东省",
"city": "广州市",
"district": "番禺区"
},
"status": 1,
"work_status": 1,
"sort": 0,
"is_staff": 1,
"channel": 3,
"login_ip": "192.168.65.1",
"login_time": 1731048029,
"create_time": "2024-11-06 10:24:55",
"update_time": "2024-11-08 16:19:01",
"delete_time": null,
"goods": [
{
"id": 14,
"name": "电脑维修",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938ab5bd8518.jpg"
},
{
"id": 15,
"name": "平板电脑/iPad维修",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938803282621.jpg"
},
{
"id": 16,
"name": "换屏幕",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938fd32c2685.jpg"
},
{
"id": 17,
"name": "更换电池",
"image": "https://php-smjz.yixiangonline.com/uploads/images/20241105/20241105101938d3b229614.jpg"
}
]
}
}
修改于 2024-11-08 08:31:11