师傅中心
开发中
GET
/staffapi/staff/center
请求参数
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 '/staffapi/staff/center' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
师傅ID
sn
string
师傅工号
name
string
师傅名称
avatar
string
师傅头像
last_address_info
object
最近一次定位地址
is_staff
integer
必需
work_status
integer
必需
staff_deposit
string
保证金
staff_earnings
string
佣金
goods_id
array[integer]
服务ID
identity_portrait_image
string
身份证人像面
identity_emblem_image
string
身份证国徽面
portrait_image
string
人像实拍
identity_number
string
身份证号码
age
integer
年龄
sex_desc
string
性别
apply_status
integer
必需
apply_remarks
string
审核备注
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"id": 0,
"sn": "string",
"name": "string",
"avatar": "string",
"last_address_info": {
"province_id": "string",
"city_id": "string",
"district_id": "string",
"address": "string",
"longitude": 0,
"latitude": 0,
"province": "string",
"city": "string",
"district": "string"
},
"is_staff": 0,
"work_status": 0,
"staff_deposit": "string",
"staff_earnings": "string",
"goods_id": [
0
],
"identity_portrait_image": "string",
"identity_emblem_image": "string",
"portrait_image": "string",
"identity_number": "string",
"age": 0,
"sex_desc": "string",
"apply_status": 0,
"apply_remarks": "string"
}
}
修改于 2024-11-07 07:07:17