把获取排行榜的get改为post
This commit is contained in:
parent
92d868d459
commit
51727600da
|
@ -102,7 +102,7 @@ public class LevelController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "分页获取某个排行榜排名")
|
@ApiOperation(value = "分页获取某个排行榜排名")
|
||||||
@GetMapping("/rank-page")
|
@PostMapping("/rank-page")
|
||||||
public R<ScoreInfoPage> getScores(@RequestBody Page page) {
|
public R<ScoreInfoPage> getScores(@RequestBody Page page) {
|
||||||
return R.ok(levelService.getScoreInfo( page.getLevelId(),page.getPage(), page.getSize()));
|
return R.ok(levelService.getScoreInfo( page.getLevelId(),page.getPage(), page.getSize()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue