[chuni] Add basic support to old release

This commit is contained in:
samnyan
2020-01-27 14:00:17 +08:00
parent 44c41a3778
commit 0879a7be4a
2 changed files with 53 additions and 2 deletions

View File

@@ -206,6 +206,14 @@ public class ChuniServletController {
return getUserRecentRatingHandler.handle(request);
}
/**
* For older version chunithm
*/
@PostMapping("GetUserRecentPlayerApi")
String getUserRecentPlayerApi(@ModelAttribute Map<String, Object> request) throws JsonProcessingException {
return getUserRecentRatingHandler.handle(request);
}
@PostMapping("GetUserRegionApi")
String getUserRegion(@ModelAttribute Map<String, Object> request) throws JsonProcessingException {
return getUserRegionHandler.handle(request);