简要描述:

  • 需求详情

请求域名:

  • http://xx.com

请求URL:

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

参数:

参数名 是否必须 类型 说明
id int 需求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,
        "image_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
        "start_time_str": "2023-03-13 13:10:19",
        "finish_time_str": "20:10:19",
        "apply_status_name": "审核通过",
        "status_name": "待接单",
        "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_shifu": {
            "member_id": 2460,
            "identity": 2,
            "realname": "高级技师",
            "mobile": "1503456234",
            "apply_status_name": "待审核",
            "personal_pic": ""
        },
        "province_name": "广东省",
        "city_name": "广州市",
        "district_name": "白云区",
        "street_name": "棠景街道"
    }
}

返回参数说明:

data参数说明:

参数名 类型 说明
id int 需求ID
order_id int 订单ID
shifu_uid int 师傅会员ID
title string 需求标题
content string 需求内容
image_url string 图片
service_fee string 服务收费
start_time_str string 服务开始时间
finish_time_str string 服务结束时间
valid_time string 到期时间
province_name string 省名称
city_name string 市名称
district_name string 区名称
street_name string 街道名称
address string 详情地址
has_one_category.id string 分类ID
has_one_category.title string 分类名称
has_one_shifu.realname string 师傅名称

备注: