简要描述:

  • 个人需求订单列表

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.be-within-call.frontend.order.personal-need.detail

参数:

参数名 是否必须 类型 说明
oid int 订单ID,order_id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "detail",
    "data": {
        "id": 2,
        "uniacid": 6,
        "member_id": 2455,
        "ability_id": null,
        "order_id": 933,
        "shifu_uid": 2460,
        "category_id": 1,
        "order_sn": "SN230313153102260B",
        "province_id": 440000,
        "city_id": 440100,
        "district_id": 440111,
        "street_id": 440111007,
        "longitude": "113.28",
        "latitude": "23.15",
        "address": "哈哈哈哈",
        "title": "需要安慰",
        "service_fee": "100.00",
        "valid_time": "2023-03-13 18:10:19",
        "content": "本地需要上门服务",
        "need_type": 0,
        "apply_status": 1,
        "status": 1,
        "start_at": "2023-03-13 13:10:19",
        "finish_at": "2023-03-13 20:10:19",
        "created_at": "2023-03-13 15:31:28",
        "audit_time": "2023-03-14 15:17:58",
        "accept_time": null,
        "complete_time": null,
        "close_time": null,
        "is_hide": 0,
        "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",
        "button_models": [
            {
                "name": "支付",
                "api": "",
                "value": "pay"
            },
            {
                "name": "取消",
                "api": "plugin.be-within-call.frontend.need-order-operate.cancel-pay",
                "value": "cancel-pay"
            },
            {
                "name": "我要评论",
                "api": "",
                "value": "publish"
            }
        ],
        "has_one_order": {
            "id": 933,
            "status": 1,
            "pay_type_id": 5,
            "price": "100.00",
            "refund_id": 0,
            "plugin_id": 63,
            "shop_name": "需求订单",
            "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
        },
        "has_one_shifu": {
            "member_id": 2460,
            "identity": 2,
            "realname": "高级技师",
            "mobile": "1503456234",
            "annex_file": {
                "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"
            },
            "apply_status_name": "待审核",
            "personal_pic": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg"
        },
        "has_one_category": {
            "id": 1,
            "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": null,
        "shifu_comment": null
    }
}

返回参数说明:

data参数说明:

参数名 类型 说明
id int 需求ID
order_id int 订单ID
member_id int 发布者会员ID
shifu_uid int 师傅会员ID
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_order.pay_time string 付款时间
audit_time string 审核时间
accept_time string 接单时间
complete_time string 订单完成时间
close_time string 订单关闭时间
has_one_member.avatar_image string 会员信息头像
order_address obj 订单地址信息
order_address.realname obj 联系人
order_address.mobile obj 手机号
order_address.address obj 订单详细地址信息
button_models array 订单按钮
has_one_shifu array 师傅信息
shifu_comment array 师傅对发布者的评论

shifu_comment参数说明:

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

has_one_shifu参数说明:

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

button_models参数说明:

参数名 类型 说明
name string 按钮名称
api string 按钮路由
value string 按钮标识

备注: