简要描述:
- 获取附近项目列表
请求URL:
POST/plugin.appointment.frontend.project.get-project-list-new
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
status | 否 | int | 0未结算,1已结算 |
month | 否 | int | 月份 1-12 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"created_at": "1970-01-12 21:46:39",
"status": 0,
"order_sn": "SN2204021503776D1B",
"amount": "100.00",
"incometable_id": 1,
"status_name": "未结算"
}
],
"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",
"next_page_url": null,
"path": "http://www.shop777.com/addons/yun_shop/api.php",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1,
"amount_calculation": {
"accumulated_rewards": "100.00",
"settlement_amount": null,
"unsettled_amount": null
}
}
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 项目ID |
created_at | string | 时间 |
status | int | 状态 |
order_sn | string | 订单编号 |
amount | string | 金额 |
status_name | int | 状态名称 |
amount_calculation.accumulated_rewards | string | 累计金额 |
amount_calculation.settlement_amount | string | 结算金额 |
amount_calculation.unsettled_amount | string | 未结算金额 |
备注:
- 更多返回错误代码请看首页的错误代码描述