简要描述:
- 获取首页推荐项目
请求URL:
GET/plugin.appointment.frontend.project.get-recommend-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
"id": 8,
"title": "项目名称5",
"thumb": "http://127.0.0.1:88/attachment/images/8/2019/12/jZ5f5snfh9KND6y1a0maFhAH0FffkY.png",
"score": "0.00",
"comment_num": 0,
"appointment_num": 0,
"is_recommand": 1
},
{
"id": 7,
"title": "项目名称4",
"thumb": "http://127.0.0.1:88/attachment/images/8/2019/12/PBWNnyz0Dm20dznV07OZQX00RNZdwV.png",
"score": "0.00",
"comment_num": 0,
"appointment_num": 0,
"is_recommand": 1
}
错误时返回:
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | ID |
title | string | 项目名称 |
thumb | string | 缩略图 |
score | float | 评分 |
comment_num | int | 评论数 |
appointment_num | int | 预约次数 |
备注:
- 更多返回错误代码请看首页的错误代码描述