简要描述:
项目列表查询接口
请求域名:
请求路由:
GET/&route=plugin.lawyer-platform.frontend.controllers.order.consultatio-order-list
请求参数说明:
| 参数名 |
类型 |
是否必需 |
说明 |
| page |
int |
否 |
页码,默认为1 |
| per_page |
int |
否 |
每页数量,默认为15 |
返回示例:
正确时返回:
json
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 2,
"order_sn": "SN260203154046D102",
"buy_member": {
"uid": 33,
"avatar": "http://www.shop777.com/static/upload/images/1/2025/09/1c392d7c16c2f5dfd138d35eb4cb0442.gif",
"nickname": "13*******11",
"avatar_image": "http://www.shop777.com/static/upload/images/1/2025/09/1c392d7c16c2f5dfd138d35eb4cb0442.gif",
"username": "13*******11"
},
"finish_time": "1970-01-01 08:00:00",
"status": 0,
"service_record": null,
"diyform_items": [],
"goods": {
"id": 556,
"goods_id": 749,
"title": "律师 1",
"thumb": "http://www.shop777.com/static/upload/images/1/2026/01/1d8f498702319109793c7ef978a7f34c.webp",
"price": "12.00",
"buttons": [],
"after_sales": {
"refund_id": 0,
"refund_type_name": "",
"refund_status_name": "已退款",
"refunded_total": 0,
"complete_quantity": 0
},
"order": null
}
}
],
"first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "下一页 »",
"active": false
}
],
"next_page_url": null,
"path": "http://www.shop777.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
返回参数说明:
data.data 订单对象参数说明:
| 参数名 |
类型 |
说明 |
| id |
int |
列表 id |
| order_sn |
string |
订单编号 |
| buy_member |
object |
购买会员信息 |
| pay_time |
string |
支付时间 |
| service_status |
int |
服务状态状态, 0 待接单,1 已接单,2 完成订单 |
| service_record |
object/null |
服务记录 |
| diyform_items |
array |
自定义表单项 |
| goods |
object |
商品信息 |
buy_member 对象参数说明:
| 参数名 |
类型 |
说明 |
| uid |
int |
用户ID |
| avatar |
string |
头像地址 |
| nickname |
string |
昵称 |
| avatar_image |
string |
头像图片地址 |
| username |
string |
用户名 |
goods 对象参数说明:
| 参数名 |
类型 |
说明 |
| id |
int |
商品ID |
| goods_id |
int |
商品基础ID |
| title |
string |
商品标题 |
| thumb |
string |
商品缩略图 |
| price |
string |
商品价格 |
| buttons |
array |
操作按钮 |
| after_sales |
object |
售后信息 |
| order |
object/null |
订单信息 |
after_sales 对象参数说明:
| 参数名 |
类型 |
说明 |
| refund_id |
int |
退款ID |
| refund_type_name |
string |
退款类型名称 |
| refund_status_name |
string |
退款状态名称 |
| refunded_total |
int |
已退款总额 |
| complete_quantity |
int |
完成数量 |