🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### <div> <span class="request">GET</span> <span class="url">/trip/points/detail/{id}</span> </div> * * * * * ###### 需要登录:是 访问频次:60次/分钟 冻结时间:1分钟 #### 接口功能 ~~~ 集合点签到详情 ~~~ #### 注意事项: > 当返回错误码为422时,错误信息在errors中,否则,错误信息为message #### 参数表: |参数名|必选|类型|说明| | -- | -- | -- | -- | |id|是|integer|集合点id| +++ <<< 操作成功 { "message": "操作成功", "status_code": 200, "data": { "tourists_count": 4, //游客总数 "leave_count": 0, //请假人数 "checked_count": 2, //签到人数 "not_check_count": 2, //未签到人数 "leave_tourists": [], //请假游客列表 "checked_tourists": [ //签到游客列表 { "tourist_id": 2, "user_id": 4, "name": "李四", "longitude": 114.1212, "latitude": 22.2323 }, { "tourist_id": 1, "user_id": 3, "name": "张三", "longitude": 114.1212, "latitude": 22.2323 } ], "not_checked_tourists": [ //未签到游客列表 { "tourist_id": 3, "user_id": 2, "name": "李美丽", "longitude": 114.1212, "latitude": 22.2323 }, { "tourist_id": 4, "user_id": 6, "name": "张晓霞", "longitude": 114.1212, "latitude": 22.2323 } ], "points": [ //行程签到点列表、用于上一个、下一个 { "id": 2, "trip_id": 1, "user_id": 2, "user_role": 1, "name": "月球车发射场门口", "time": "15:00:00", "longitude": 114.522323, "latitude": 22.5552335, "status": 0, "created_at": "2016-07-17 22:39:33", "updated_at": "2016-07-17 22:39:33" }, { "id": 1, "trip_id": 1, "user_id": 2, "user_role": 1, "name": "月球基地门口", "time": "12:00:00", "longitude": 114.253565, "latitude": 22.555665, "status": 2, "created_at": "2016-07-15 16:33:11", "updated_at": "2016-07-17 22:39:33" } ] } } <<< 操作失败 { "message": "Unauthorized", "status_code": 401 } +++