简要描述:

  • 企业-需求订单详情

请求域名:

  • http://xx.com

请求URL:

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

参数:

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

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "detail",
    "data": {
        "id": 2,
        "uniacid": 6,
        "member_id": 2462,
        "order_id": 938,
        "category_id": 3,
        "package_id": 1,
        "mark": "",
        "order_sn": "SN2303221701387DDC",
        "title": "广告",
        "pic": "images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
        "content": "本企业发布实打实的第三方",
        "headline_fee": "10.00",
        "is_headline": 1,
        "is_hide": 0,
        "status": 2,
        "pay_time": "2023-03-22 17:59:37",
        "audit_time": "2023-03-22 17:59:45",
        "close_time": null,
        "created_at": "2023-03-22 17:01:23",
        "amount": "20.00",
        "button_models": [],
        "status_name": "完成",
        "pic_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
        "has_one_order": {
            "id": 938,
            "status": 3,
            "pay_type_id": 5,
            "price": "20.00",
            "refund_id": 0,
            "plugin_id": 64,
            "shop_name": "出刀",
            "create_time": "2023-03-22 17:01:23",
            "pay_time": "2023-03-22 17:59:37",
            "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_package": {
            "id": 1,
            "pay_type_id": 0,
            "pay_sn": "",
            "operate_name": "后端修改",
            "type": 11,
            "fee": "10.00",
            "desc": "单次单条信息费用10元/条",
            "status": 1,
            "status_name": "使用中",
            "type_name": "按单次单条信息费用",
            "pay_type_name": "后端修改"
        },
        "has_one_category": {
            "id": 3,
            "title": "企业分类",
            "thumb_url": ""
        }
    }
}

返回参数说明:

data参数说明:

参数名 类型 说明
id int 需求ID
order_id int 订单ID
member_id int 会员ID
order_sn string 订单编号
title string 需求标题
content string 内容描述
headline_fee int 置顶费用
amount int 发布支付金额
has_one_category.thumb_url string 分类图片
has_one_category.id int 分类ID
has_one_category.title string 分类名称
has_one_package.id int 套餐ID
has_one_package.type_name string 套餐名称
has_one_package.desc string 套餐描述
button_models array 订单按钮
status_name string 状态名称
created_at string 创建时间
pay_time string 支付时间
audit_time string 审核时间
close_time string 关闭时间
has_one_package.type int 等于11时显示:单条单次收费
has_one_package.fee int 单条单次收费

button_models参数说明:

name value api
支付 pay order.merge-pay
取消 enterprise-cancel-pay plugin.be-within-call.frontend.need-order-operate.enterprise-cancel-pay

备注: