文档
测试

班级排行榜

POST
http://leave2.com/evaluate/api/Activity/getRankByClass

请求头

参数名
类型
描述
必填
Authorization
V1BkWXloemU0clFEdllkY3VuNWctalJ4SElTPThYeW14aGdueW5TZFpUdXo5SjhTLWFTTnRRcGtEZ1MtdnFFZ2RuT0hJYlpVPVdoZD1KPTM1WHhmdmhnPUJlVHR4bGVUNElBcklybWxFVlhLTw%3D%3D
必填

请求参数

参数名
类型
描述
必填
grade_id
年级id
必填
activity_id
活动id
必填
medal_id
勋章id 总章数:0 其它传勋章id
必填
page
必填
pagesize
必填

响应参数

参数名
类型
描述
必填
class_id
班级id
必填
class_name
班级名称
必填
record_detail
详情
必填
medal_id
勋章id 0: 总章
必填
count
获取数量
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "total": 2, "per_page": "10", "current_page": "1", "last_page": 1, "data": [ { "class_id": "13", "class_name": "1班", "count": "9", "record_detail": [ { "medal_id": "0", "count": "9" }, { "medal_id": "208", "count": 5 }, { "medal_id": "209", "count": 4 }, { "medal_id": "213", "count": 0 } ] }, { "class_id": "14", "class_name": "2班", "count": "1", "record_detail": [ { "medal_id": "0", "count": "1" }, { "medal_id": "208", "count": 1 }, { "medal_id": "209", "count": 0 }, { "medal_id": "213", "count": 0 } ] } ] } }