简要描述:

  • 搜索页-企业需求

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.be-within-call.frontend.public-search.enterprise-need&page_size=15

参数:

参数名 是否必须 类型 说明
name string 需求标题
page string 当前页数
page_size int 每页条数
category_id int 分类ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "list",
    "data": {
        "current_page": 1,
        "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",
                "status_name": "完成",
                "pic_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
                "has_one_enterprise": {
                    "member_id": 2462,
                    "realname": "出刀",
                    "mobile": "12354567543",
                    "apply_status_name": "",
                    "personal_pic": ""
                }
            }
        ],
        "first_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://demo.yun.cn/addons/yun_shop/api.php",
        "per_page": "15",
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

返回参数说明:

返回参数说明(分页):

参数名 类型 说明
current_page int 当前页数
per_page int 每页条数
to int 当前页条数
total int 总条数(直推人数)
data array 内容数据

data参数说明:

参数名 类型 说明
id string 需求ID
order_id string 订单ID
title string 需求标题
content string 需求描述
has_one_enterprise.realname string 企业名称

备注: