简要描述:
- 区域管理-添加师傅
请求域名:
- http://xx.com
请求URL:
POST/&route=plugin.be-within-call.frontend.area-manage.add-shi-fu
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
member_id | 是 | int | 指定成功师傅的会员ID |
other1 | 是 | int | 是否培训:1是0否 |
realname | 是 | string | 姓名、法人 |
mobile | 是 | int | 手机号、联系人 |
longitude | 是 | string | 经度 |
latitude | 是 | string | 纬度 |
province_id | 是 | int | 省ID |
city_id | 是 | int | 市ID |
district_id | 是 | int | 区ID |
street_id | 是 | int | 街道ID |
detail_info.sex | 是 | string | 性别 |
detail_info.age | 是 | string | 年龄 |
detail_info.native_place | 是 | string | 籍贯 |
detail_info.nation | 是 | string | 民族 |
detail_info.education | 是 | string | 学历 |
detail_info.stature | 是 | string | 身高 |
detail_info.weight | 是 | string | 体重 |
detail_info.introduce | 是 | string | 简介 |
detail_info.corp_address | 是 | string | 企业地址 |
detail_info.corp_name | 是 | string | 企业名称 |
detail_info.corp_business_scope | 是 | string | 企业经营范围 |
detail_info.corp_contact_way | 是 | string | 企业联系方式 |
annex_file.id_card_front | 是 | string | 身份证人像面 |
annex_file.id_card_reverse | 是 | string | 身份证国徽面 |
annex_file.capability_certificate | 是 | string | 师傅技能证书 |
annex_file.health_certificate | 是 | string | 师傅健康证件 |
annex_file.shifu_image | 是 | string | 师傅个人照片 |
annex_file.shifu_video | 是 | string | 师傅短视频 |
annex_file.corp_license | 是 | string | 企业营业执照 |
annex_file.corp_image | 是 | array | 企业公司图片数组 |
返回示例:
正确时返回:
//请求参数结构
data:{
"member_id": 2460,
"identity": 2,
"province_id": 440000,
"city_id": 440100,
"district_id": 440111,
"street_id": 440111004,
"longitude": "113.28",
"latitude": "23.18",
"realname": "高级技师",
"mobile": "1503456234",
"other1": "1",
"other2": "",
"other3": "",
"detail_info": {
"sex": "女",
"age": "25",
"native_place": "广州",
"nation": "满族",
"education": "大师",
"stature": "169",
"weight": "120",
"introduce": "冰火两重天",
"corp_address": "",
"corp_name": "",
"corp_business_scope": "",
"corp_contact_way": ""
},
"annex_file": {
"sex": "",
"age": "",
"native_place": "",
"nation": "",
"education": "",
"stature": "",
"weight": "",
"introduce": "",
"corp_address": "",
"corp_name": "",
"corp_business_scope": "",
"corp_contact_way": "",
"corp_license": "",
"corp_image": [],
"id_card_front": "images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"id_card_reverse": "images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"capability_certificate": "images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"health_certificate": "images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"shifu_image": "images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"shifu_video": "videos\/6\/2023\/03\/f505b17f2c05751ca48c7f31ce7d7bbd.mp4",
"sex_url": "",
"age_url": "",
"native_place_url": "",
"nation_url": "",
"education_url": "",
"stature_url": "",
"weight_url": "",
"introduce_url": "",
"corp_address_url": "",
"corp_name_url": "",
"corp_business_scope_url": "",
"corp_contact_way_url": "",
"corp_license_url": "",
"corp_image_url": [],
"id_card_front_url": "http:\/\/demo.yun.cn\/static\/upload\/images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"id_card_reverse_url": "http:\/\/demo.yun.cn\/static\/upload\/images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"capability_certificate_url": "http:\/\/demo.yun.cn\/static\/upload\/images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"health_certificate_url": "http:\/\/demo.yun.cn\/static\/upload\/images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"shifu_image_url": "http:\/\/demo.yun.cn\/static\/upload\/images\/6\/2022\/01\/17fd5908dcc2d363548243c47ef3e97d.jpg",
"shifu_video_url": "http:\/\/demo.yun.cn\/static\/upload\/videos\/6\/2023\/03\/f505b17f2c05751ca48c7f31ce7d7bbd.mp4"
}
}
返回参数说明:
data参数说明:
参数名 | 类型 | 说明 |
---|