简要描述:
请求域名:
请求URL:
GET/&route=plugin.be-within-call.frontend.public-search.need-order&page_size=15
参数:
参数名 |
是否必须 |
类型 |
说明 |
lng |
是 |
string |
计算距离需要 |
lat |
是 |
string |
计算距离需要 |
name |
否 |
string |
技能师傅名称 |
page |
否 |
string |
当前页数 |
page_size |
否 |
int |
每页条数 |
category_id |
否 |
int |
分类ID |
order_by |
否 |
string |
排序:new最新、near附件 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "list",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 6,
"member_id": 2455,
"ability_id": null,
"order_id": 915,
"shifu_uid": 2460,
"category_id": 1,
"order_sn": "SN2205261633F5DEE9",
"province_id": 0,
"city_id": 0,
"district_id": 0,
"street_id": 0,
"longitude": "",
"latitude": "",
"address": "",
"title": "上门按摩",
"service_fee": "100.00",
"valid_time": "1970-01-01 08:00:00",
"content": "测试我的爱豆",
"need_type": 0,
"apply_status": 1,
"status": 0,
"start_at": "2023-02-27 17:46:41",
"finish_at": "2023-03-11 14:12:28",
"created_at": null,
"unit": "m",
"thumb_url": "http://demo.yun.cn/static/upload/images/6/2022/01/17fd5908dcc2d363548243c47ef3e97d.jpg",
"apply_status_name": "审核通过"
}
],
"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": "1",
"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 |
服务内容 |
start_at |
int |
服务开始时间 |
finish_at |
string |
服务结束时间 |
distance |
string |
距离 |
unit |
string |
距离单位 |
service_fee |
int |
服务金额 |
备注: