ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### <div> <span class="request">GET</span> <span class="url">/likes/summary/{trip_id}/{date}</span> </div> * * * * * ###### 需要登录:是 访问频次:60次/分钟 冻结时间:1分钟 #### 接口功能 ~~~ 获取当前导游某行程日点赞和被点赞列表 ~~~ #### 注意事项: > 当返回错误码为422时,错误信息在errors中,否则,错误信息为message #### 参数表: |参数名|必选|类型|说明| | -- | -- | -- | -- | |trip_id|是|integer|行程id| |date|否|string|行程日期,格式:或2016-08-03| +++ <<< 操作成功 { "message": "操作成功", "status_code": 200, "data": [ { "tourist_id": 1, //游客id "user_id": 3, //游客的用户id,非注册用户为0,非注册用户不参与赞,即不能点赞和被点赞 "name": "张三", //游客姓名 "like": false, //我是否赞了游客 "liked": false //游客是否赞了我 }, { "tourist_id": 2, "user_id": 4, "name": "李四", "like": false, "liked": false }, { "tourist_id": 3, "user_id": 2, "name": "李美丽", "like": false, "liked": false }, { "tourist_id": 4, "user_id": 6, "name": "张晓霞", "like": false, "liked": false }, { "tourist_id": 5, "user_id": 0, "name": "王老五", "like": false, "liked": false }, { "tourist_id": 6, "user_id": 0, "name": "李文杰", "like": false, "liked": false }, { "tourist_id": 7, "user_id": 0, "name": "马老七", "like": false, "liked": false }, { "tourist_id": 8, "user_id": 0, "name": "刘小花", "like": false, "liked": false } ] } <<< 操作失败 { "message": "Unauthorized", "status_code": 401 } +++