技师详情
开发中
GET
adminapi/coach.coach/detail
请求参数
Query 参数
id
string
技师id
Body 参数application/json
object {0}
示例
{
"coach_user_id":1,
"name":"测试",
"age":22,
"gender":1,
"mobile":"13172323123",
"id_card":445121199708062616,
"education":"高中",
"nation":"汉族",
"province_id":440000,
"city_id":440100,
"region_id":440106,
"address_detail":"林和西路100号",
"skill_id":1,
"goods_ids":[11,12],
"id_card_back":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"id_card_front":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"portrait_shooting":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"work_photo":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"work_status":1,
"server_status":1,
"life_photo":[
"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png"
]
}
示例代码
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/coach.coach/detail?id' \
--header 'Content-Type: application/json' \
--data-raw '{
"coach_user_id":1,
"name":"测试",
"age":22,
"gender":1,
"mobile":"13172323123",
"id_card":445121199708062616,
"education":"高中",
"nation":"汉族",
"province_id":440000,
"city_id":440100,
"region_id":440106,
"address_detail":"林和西路100号",
"skill_id":1,
"goods_ids":[11,12],
"id_card_back":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"id_card_front":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"portrait_shooting":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"work_photo":"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"work_status":1,
"server_status":1,
"life_photo":[
"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png",
"http://www.php-amdj.localhost/uploads/images/20221123/202211231543510f03d1199.png"
]
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
name
string
必需
sex
integer
必需
gender
integer
必需
id_card
string
必需
mobile
string
必需
education
string
必需
nation
string
必需
province_id
integer
必需
city_id
integer
必需
region_id
integer
必需
address_detail
string
必需
coach_user_id
integer
必需
skill_id
integer
必需
id_card_front
string
必需
id_card_back
string
必需
portrait_shooting
string
必需
work_photo
string
必需
certification
string
必需
health_certificate
string
必需
work_status
integer
必需
server_status
integer
必需
life_photo
array [object {2}]
必需
goods_lists
array [object {3}]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": []
}
修改于 2024-08-28 03:46:38