简要描述:

  • 区域管理-技能师傅订单详情

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.be-within-call.frontend.area-manage.order-detail

参数:

参数名 是否必须 类型 说明
oid int 订单ID,order_id
lng string 计算距离需要
lat string 计算距离需要

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "detail",
    "data": {
        "id": 3,
        "uniacid": 6,
        "member_id": 2455,
        "ability_id": 1,
        "order_id": 935,
        "shifu_uid": 2460,
        "category_id": 2,
        "order_sn": "SN2303141405FD6DCB",
        "province_id": 440000,
        "city_id": 440100,
        "district_id": 440111,
        "street_id": 440111002,
        "longitude": "113.28",
        "latitude": "23.15",
        "address": "哈哈哈哈",
        "title": "测试技能",
        "service_fee": "120.00",
        "valid_time": "2023-03-14 14:16:55",
        "content": "本地需要上门服务",
        "need_type": 1,
        "apply_status": 1,
        "status": 0,
        "start_at": "2023-03-13 13:10:19",
        "finish_at": "2023-03-13 20:10:19",
        "created_at": "2023-03-14 14:05:35",
        "audit_time": "2023-03-14 14:06:55",
        "accept_time": null,
        "complete_time": null,
        "close_time": null,
        "is_hide": 0,
        "unit": "m",
        "status_name": "待接单",
        "apply_status_name": "审核通过",
        "full_address": "广东省 广州市 白云区 三元里街道 哈哈哈哈",
        "start_time_str": "2023-03-13 13:10:19",
        "finish_time_str": "20:10:19",
        "image_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
        "has_one_order": {
            "id": 935,
            "status": 1,
            "pay_type_id": 5,
            "price": "120.00",
            "refund_id": 0,
            "plugin_id": 63,
            "shop_name": "预约订单",
            "create_time": "2023-03-14 14:05:35",
            "pay_time": "2023-03-14 14:06:55",
            "status_name": "待发货",
            "pay_type_name": "后台",
            "process": [],
            "has_one_pay_type": {
                "id": 5,
                "name": "后台",
                "plugin_id": 0,
                "code": "backend",
                "type": 1,
                "unit": "元",
                "updated_at": "2019-04-15 12:07:20",
                "created_at": null,
                "deleted_at": null,
                "setting_key": "",
                "need_password": 0,
                "group_id": 4
            },
            "has_one_behalf_pay": null
        },
        "order_address": {
            "realname": "高级技师",
            "mobile": "1503456234",
            "address": "广东省 广州市 白云区 三元里街道 哈哈哈哈"
        },
        "has_one_member": {
            "uid": 2455,
            "nickname": "Joe",
            "realname": "柏丽芬",
            "mobile": "15219025049",
            "avatar": "http://demo.yun.cn/static/upload/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
            "avatar_image": "http://demo.yun.cn/static/upload/images/6/2018/04/yCfnKfcWicKXATi5fKI0watW8K0tz0.jpg",
            "username": "Joe"
        },
        "has_one_category": {
            "id": 2,
            "title": "技能分类",
            "thumb": "images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
            "thumb_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg"
        },
        "has_one_ability": {
            "id": 1,
            "title": "测试技能",
            "fee": "120.00",
            "desc": "啊啊啊啊啊啊",
            "pic": "images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
            "apply_status_name": "待审核",
            "pic_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
            "video_url": "",
            "start_time_str": "",
            "finish_time_str": ""
        },
        "has_one_shifu": {
            "member_id": 2460,
            "identity": 2,
            "realname": "高级技师",
            "mobile": "1503456234",
            "apply_status_name": "待审核",
            "personal_pic": ""
        },
        "publish_comment": null
    }
}

返回参数说明:

data参数说明:

参数名 类型 说明
id int 需求ID
order_id int 订单ID
member_id int 发布者会员ID
shifu_uid int 师傅会员ID
order_sn string 订单编号
longitude int 经度
latitude int 纬度
title string 需求标题
content string 服务内容
start_time_str string 服务开始时间
finish_time_str string 服务结束时间
valid_time string 信息有效期
need_type int 0需求订单1预约订单
service_fee int 服务金额
status_name string 订单状态
full_address string 订单地址
image_url string 订单图片
has_one_member.avatar_image string 会员信息头像
button_models array 订单按钮
order_address obj 订单地址信息
order_address.realname obj 联系人
order_address.mobile obj 手机号
order_address.address obj 订单详细地址信息
distance string 距离
unit string 距离单位
publish_comment obj 评论打星
has_one_shifu obj 师傅信息
skill_reward_amount int 技术提成金额

has_one_shifu参数说明:

参数名 类型 说明
realname string 师傅姓名
mobile string 师傅手机号
personal_pic int 师傅个人图片

publish_comment参数说明:

参数名 类型 说明
star_grade string 评分打星

备注: