ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## :-: **排名** ~~~[api] post:/index/Index/ranking *varchar:token=100069&950b09e3299fe283065b2d1255516e53#登录密钥 *tinyint:type=1#1=门店排行榜;2=总排行榜 string:time=d#d=日榜;w=周榜,m=月榜(type为1的时候传入) int:siteId=1#门店的主键id(type为1的时候传入) <<< type=1 { "code": 1, "msg": "获取成功", "data": [ { "id": 4, "lapTime": "10", "driverId": 1, "licence": { "id": 1, "profilePicture": "111", "driverName": "刘九岁" } }, { "id": 7, "lapTime": "15", "driverId": 2, "licence": { "id": 2, "profilePicture": "/uploads/cf/d7050c61ee9ec4b1ea0f91c7f8c953.jpg", "driverName": "超级小杰" } } ] } <<< type=2 { "code": 1, "msg": "获取成功", "data": [ { "id": 4, "driverLevel": 2, "profilePicture": "2222", "driverName": "笑带四?屠五狗", "mileage": 0, "first": 6, "second": 0, "thirdly": 0, "create_time": "2019-11-01 16:39:32" }, { "id": 2, "driverLevel": 1, "profilePicture": "/uploads/cf/d7050c61ee9ec4b1ea0f91c7f8c953.jpg", "driverName": "超级小杰", "mileage": 0, "first": 5, "second": 0, "thirdly": 0, "create_time": "2019-10-28 14:17:13" }, { "id": 3, "driverLevel": 1, "profilePicture": "/uploads/ae/67223193d8b612e864e193742858c8.png", "driverName": "超级大杰", "mileage": 0, "first": 3, "second": 0, "thirdly": 0, "create_time": "2019-10-30 17:43:32" }, { "id": 1, "driverLevel": 3, "profilePicture": "111", "driverName": "刘九岁", "mileage": 1000, "first": 1, "second": 0, "thirdly": 0, } ] } ~~~ ### 返回字段说明 | 字段 | 说明 | | --- | --- | | lapTime| 当圈所用时间 | | driverId| 车手id| | licence| 车手信息| | driverLevel| 车手等级 | | driverName| 车手名 | | profilePicture | 车手头像 | | mileage | 总场数 | | first | 冠军数 | | second | 亚军数 | | thirdly | 季军数 |