mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix hibernate enhance compilation
parent
10ebd61519
commit
e32a2bbe81
|
@ -29,7 +29,7 @@ public class GetClientBookkeepingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long placeId = ((Number) request.get("placeId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -40,7 +40,7 @@ public class GetGameConnectHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
int type = ((Number) request.get("type")).intValue(); // Allnet enabled or not
|
||||
long version = ((Number) request.get("version")).longValue(); // Rom version
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ import icu.samnyan.aqua.sega.general.BaseHandler;
|
|||
import icu.samnyan.aqua.sega.cardmaker.model.response.GetGameSettingResp;
|
||||
import icu.samnyan.aqua.sega.cardmaker.model.response.data.GameSetting;
|
||||
import icu.samnyan.aqua.sega.util.jackson.BasicMapper;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -31,7 +32,7 @@ public class GetGameSettingHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(@NotNull Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("uuuu-MM-dd HH:mm:ss");
|
||||
LocalDateTime rebootStartTime = LocalDateTime.now().minusHours(3);
|
||||
|
@ -60,7 +61,7 @@ public class GetGameSettingHandler implements BaseHandler {
|
|||
|
||||
String json = mapper.write(resp);
|
||||
|
||||
logger.info("Response: " + json);
|
||||
logger.info("Response: {}", json);
|
||||
return json;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GameLoginHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<UserData> userDataOptional = userDataService.getUserByExtId(userId);
|
||||
userDataOptional.ifPresent(userDataService::updateLoginTime);
|
||||
|
|
|
@ -25,7 +25,7 @@ public class GameLogoutHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
String json = mapper.write(new CodeResp(1));
|
||||
logger.info("Response: " + json);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetGameChargeHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
List<GameCharge> gameChargeList = gameChargeRepository.findAll();
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetGameEventHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
List<GameEvent> gameEventList = gameEventRepository.findByEnable(true);
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GetGameIdlistHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
List<Object> gameIdlistList = new ArrayList<>();
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetGameMessageHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
List<GameMessage> gameMessageList = gameMessageRepository.findAll();
|
||||
|
|
|
@ -35,7 +35,7 @@ public class GetGameRankingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
Page<GameRanking> rankingPage = userPlaylogRepository.findGameRankingByPlaylog(PageRequest.of(0, 10));
|
||||
|
|
|
@ -30,7 +30,7 @@ public class GetGameSaleHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
List<GameSale> gameSaleList = new ArrayList<>();
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetGameSettingHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
// Fixed reboot time triggers chunithm maintenance lockout, so let's try minime method which sets it dynamically
|
||||
// Special thanks to skogaby
|
||||
|
|
|
@ -26,7 +26,7 @@ public class GetTeamCourseRuleHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetTeamCourseSettingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserActivityHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String kind = (String) request.get("kind");
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ public class GetUserCharacterHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
int nextIndex = Integer.parseInt((String) request.get("nextIndex"));
|
||||
int maxCount = Integer.parseInt((String) request.get("maxCount"));
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetUserChargeHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
List<UserCharge> userChargeList = userChargeService.getByUserId(userId);
|
||||
|
|
|
@ -35,7 +35,7 @@ public class GetUserCourseHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetUserDataExHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<UserDataEx> userDataExOptional = userDataExService.getByExtId(userId);
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ public class GetUserDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<UserData> userDataOptional = userDataService.getUserByExtId(userId);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserDuelHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String duelId = (String) request.get("duelId");
|
||||
String isAllDuel = (String) request.get("isAllDuel");
|
||||
|
|
|
@ -30,7 +30,7 @@ public class GetUserFavoriteItemHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String kind = (String) request.get("kind");
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetUserFavoriteMusicHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
// TODO:
|
||||
|
|
|
@ -35,7 +35,7 @@ public class GetUserItemHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Long nextIndexVal = Long.parseLong((String) request.get("nextIndex"));
|
||||
int maxCount = Integer.parseInt((String) request.get("maxCount"));
|
||||
|
|
|
@ -25,7 +25,7 @@ public class GetUserLoginBonusHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
// TODO:
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserMapHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
List<UserMap> userMapList = userMapService.getByUserId(userId);
|
||||
|
|
|
@ -41,7 +41,7 @@ public class GetUserMusicHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
int currentIndex = Integer.parseInt((String) request.get("nextIndex"));
|
||||
int maxCount = Integer.parseInt((String) request.get("maxCount"));
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserOptionExHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<UserGameOptionEx> userGameOptionEx = userGameOptionExService.getByUserId(userId);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserOptionHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<UserGameOption> userGameOption = userGameOptionService.getByUserId(userId);
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ public class GetUserPreviewHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ public class GetUserRecentRatingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Optional<UserGeneralData> recentOptional = userGeneralDataService.getByUserIdAndKey(userId, "recent_rating_list");
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GetUserRegionHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
List<Object> userRegionList = new ArrayList<>();
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetUserRivalDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetUserRivalMusicHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -27,7 +27,7 @@ public class GetUserTeamHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String playDate = (String) request.get("playDate");
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public class UpsertClientSettingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
var req = mapper.convert(request, ClientSettingRequest.class);
|
||||
var set = req.getClientSetting();
|
||||
var serial = (String) request.get(SERIAL_KEY);
|
||||
|
|
|
@ -69,7 +69,7 @@ public class UpsertUserAllHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
UpsertUserAll upsertUserAll = mapper.convert(request.get("upsertUserAll"), UpsertUserAll.class);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class UpsertUserChargelogHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
UserData user = userDataService.getUserByExtId(userId).orElseThrow();
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public class BeginMatchingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
MatchingMemberInfo matchingMemberInfo = mapper.convert(request.get("matchingMemberInfo"), MatchingMemberInfo.class);
|
||||
|
||||
MatchingWaitState matchingWaitState = new MatchingWaitState();
|
||||
|
|
|
@ -38,7 +38,7 @@ public class CMGetUserCharacterHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
int nextIndex = ((Number) request.get("nextIndex")).intValue();
|
||||
int maxCount = ((Number) request.get("maxCount")).intValue();
|
||||
|
|
|
@ -34,7 +34,7 @@ public class CMGetUserDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
Optional<Chu3UserData> userDataOptional = userDataService.getUserByExtId(userId);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public class CMGetUserItemHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
Long nextIndexVal = ((Number) request.get("nextIndex")).longValue();
|
||||
int maxCount = ((Number) request.get("maxCount")).intValue();
|
||||
|
|
|
@ -34,7 +34,7 @@ public class CMGetUserPreviewHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
String segaIdAuthKey = String.valueOf(request.get("segaIdAuthKey"));
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public class CMUpsertUserGachaHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
int gachaId = ((Number) request.get("gachaId")).intValue();
|
||||
int placeId = ((Number) request.get("placeId")).intValue();
|
||||
|
|
|
@ -33,7 +33,7 @@ public class CMUpsertUserPrintCancelHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
List<Integer> orderIdList = mapper.convert(request.get("orderIdList"), new TypeReference<List<Integer>>() {});
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public class CMUpsertUserPrintSubtractHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
UserCardPrintState userCardPrintState = mapper.convert(request.get("userCardPrintState"), UserCardPrintState.class);
|
||||
List<UserItem> userItemList = mapper.convert(request.get("userItemList"), new TypeReference<List<UserItem>>() {});
|
||||
|
|
|
@ -28,7 +28,7 @@ public class EndMatchingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
//roomId, userId
|
||||
|
||||
Map<String, Object> matchingResult = new LinkedHashMap<>();
|
||||
|
|
|
@ -61,7 +61,7 @@ public class GameLoginHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<Chu3UserData> userDataOptional = userDataService.getUserByExtId(userId);
|
||||
boolean userPresent = userDataOptional.isPresent();
|
||||
|
|
|
@ -25,7 +25,7 @@ public class GameLogoutHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
String json = mapper.write(new CodeResp(1));
|
||||
logger.info("Response: " + json);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetGameChargeHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
List<GameCharge> gameChargeList = gameChargeRepository.findAll();
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetGameEventHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
List<GameEvent> gameEventList = gameEventRepository.findByEnable(true);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetGameGachaCardByIdHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
int gachaId = ((Number) request.get("gachaId")).intValue();
|
||||
|
||||
List<GameGachaCard> gameGachaCardList = gameGachaCardService.getByGachaId(gachaId);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetGameGachaHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
List<GameGacha> gameGachaList = gameGachaRepository.findAll();
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GetGameIdlistHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
List<Object> gameIdlistList = new ArrayList<>();
|
||||
|
|
|
@ -28,7 +28,7 @@ public class GetGameRankingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String type = (String) request.get("type");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -45,7 +45,7 @@ public class GetGameSettingHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
// Fixed reboot time triggers chusan maintenance lockout, so let's try minime method which sets it dynamically
|
||||
// Special thanks to skogaby
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GetMatchingStateHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String roomId = (String) request.get("roomId");
|
||||
MatchingMemberInfo matchingMemberInfo = mapper.convert(request.get("matchingMemberInfo"), MatchingMemberInfo.class);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetTeamCourseRuleHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetTeamCourseSettingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserActivityHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String kind = (String) request.get("kind");
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserCMissionHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = Long.parseLong((String) request.get("userId"));
|
||||
int missionId = Integer.parseInt((String) request.get("missionId"));
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetUserCardPrintErrorHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
Long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserCardPrintState> userCardPrintStateList = userCardPrintStateRepository.findByUser_Card_ExtIdAndHasCompleted(userId, false);
|
||||
|
|
|
@ -36,7 +36,7 @@ public class GetUserCharacterHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
int nextIndex = Integer.parseInt((String) request.get("nextIndex"));
|
||||
int maxCount = Integer.parseInt((String) request.get("maxCount"));
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetUserChargeHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
List<UserCharge> userChargeList = userChargeService.getByUserId(userId);
|
||||
|
|
|
@ -35,7 +35,7 @@ public class GetUserCourseHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetUserDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<Chu3UserData> userDataOptional = userDataService.getUserByExtId(userId);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserDuelHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String duelId = (String) request.get("duelId");
|
||||
String isAllDuel = (String) request.get("isAllDuel");
|
||||
|
|
|
@ -30,7 +30,7 @@ public class GetUserFavoriteItemHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
int kind = Integer.parseInt((String) request.get("kind"));
|
||||
Long nextIndexVal = Long.parseLong((String) request.get("nextIndex"));
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetUserGachaHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
|
||||
List<UserGacha> userGachaList = userGachaService.getByUserId(userId);
|
||||
|
|
|
@ -39,7 +39,7 @@ public class GetUserLoginBonusHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -42,7 +42,7 @@ public class GetUserMusicHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
int currentIndex = Integer.parseInt((String) request.get("nextIndex"));
|
||||
int maxCount = Integer.parseInt((String) request.get("maxCount"));
|
||||
|
|
|
@ -25,7 +25,7 @@ public class GetUserNetBattleDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -23,7 +23,7 @@ public class GetUserNetBattleRankingInfoHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
logger.info("UserNetBattleRankingInfo Dummy Handler");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetUserOptionHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Optional<UserGameOption> userGameOption = userGameOptionService.getByUserId(userId);
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ public class GetUserPreviewHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Optional<Chu3UserData> userData = userDataService.getUserByExtId(userId);
|
||||
|
|
|
@ -27,7 +27,7 @@ public class GetUserPrintedCardHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = String.valueOf(request.get("userId"));
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -40,7 +40,7 @@ public class GetUserRecentRatingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Optional<UserGeneralData> recentOptional = userGeneralDataService.getByUserIdAndKey(userId, "recent_rating_list");
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GetUserRegionHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
List<Object> userRegionList = new ArrayList<>();
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetUserRivalDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -24,7 +24,7 @@ public class GetUserRivalMusicHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -30,7 +30,7 @@ public class GetUserSymbolChatSettingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
|
||||
List<SymbolChatInfo> symbolChatInfoList = new ArrayList<>();
|
||||
|
|
|
@ -29,7 +29,7 @@ public class GetUserTeamHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
String playDate = (String) request.get("playDate");
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class RemoveMatchingMemberHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
resultMap.put("returnCode", 1);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class RollGachaHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
int gachaId = ((Number) request.get("gachaId")).intValue();
|
||||
int times = ((Number) request.get("times")).intValue();
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ public class UpsertUserAllHandler implements BaseHandler {
|
|||
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
UpsertUserAll upsertUserAll = mapper.convert(request.get("upsertUserAll"), UpsertUserAll.class);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class UpsertUserChargelogHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
String userId = (String) request.get("userId");
|
||||
Chu3UserData user = userDataService.getUserByExtId(userId).orElseThrow();
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
package icu.samnyan.aqua.sega.general;
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
public interface BaseHandler {
|
||||
|
||||
Object handle(Map<String, Object> request) throws JsonProcessingException;
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package icu.samnyan.aqua.sega.general
|
||||
|
||||
import com.fasterxml.jackson.core.JsonProcessingException
|
||||
|
||||
/**
|
||||
* @author samnyan (privateamusement@protonmail.com)
|
||||
*/
|
||||
fun interface BaseHandler {
|
||||
@Throws(JsonProcessingException::class)
|
||||
fun handle(request: Map<String, Any>): Any?
|
||||
}
|
|
@ -18,7 +18,7 @@ import java.util.*
|
|||
@Component
|
||||
class CompressionFilter : OncePerRequestFilter() {
|
||||
companion object {
|
||||
val logger = logger()
|
||||
val log = logger()
|
||||
val b64d = Base64.getMimeDecoder()
|
||||
val b64e = Base64.getMimeEncoder()
|
||||
}
|
||||
|
@ -51,13 +51,11 @@ class CompressionFilter : OncePerRequestFilter() {
|
|||
try {
|
||||
resp.outputStream.use { it.write(result); it.flush() }
|
||||
} catch (e: EofException) {
|
||||
logger.warn("- EOF: Client closed connection when writing result")
|
||||
log.warn("- EOF: Client closed connection when writing result")
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter games that are not diva
|
||||
*/
|
||||
/** Only games (other than WACCA) require response compression */
|
||||
override fun shouldNotFilter(req: HttpServletRequest) =
|
||||
!(req.servletPath.startsWith("/g/") && !req.servletPath.startsWith("/g/wacca"))
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetGameEventHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
int type = ((Number) request.get("type")).intValue();
|
||||
Boolean isAllEvent = (Boolean) request.get("isAllEvent");
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public class GetGameRankingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
int type = ((Number) request.get("type")).intValue();
|
||||
|
||||
String dataName = "maimai_game_ranking_";
|
||||
|
|
|
@ -42,7 +42,7 @@ public class GetGameSettingHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
|
||||
PropertyEntry start = propertyEntryRepository.findByPropertyKey("reboot_start_time")
|
||||
.orElseGet(() -> new PropertyEntry("reboot_start_time", "2020-01-01 07:00:00.0"));
|
||||
|
|
|
@ -34,7 +34,7 @@ public class GetTransferFriendHandler implements BaseHandler {
|
|||
*
|
||||
*/
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
return "{}";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetUserActivityHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
Integer kind = (Integer) request.get("kind");
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetUserBossHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Optional<UserBoss> userBossOptional = userBossRepository.findByUser_Card_ExtId(userId);
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetUserCharacterHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
List<UserCharacter> userCharacterList = userCharacterRepository.findByUser_Card_ExtId(userId);
|
||||
|
|
|
@ -33,7 +33,7 @@ public class GetUserCourseHandler implements BaseHandler {
|
|||
*
|
||||
*/
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
Map<String, Object> resultMap = new LinkedHashMap<>();
|
||||
|
|
|
@ -30,7 +30,7 @@ public class GetUserDataHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
UserData userData = userDataRepository.findByCard_ExtId(userId).orElseThrow();
|
||||
|
|
|
@ -31,7 +31,7 @@ public class GetUserGradeHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
|
||||
UserGeneralData userData = userGeneralDataRepository.findByUser_Card_ExtIdAndPropertyKey(userId, "user_grade_status")
|
||||
|
|
|
@ -32,7 +32,7 @@ public class GetUserItemHandler implements BaseHandler {
|
|||
}
|
||||
|
||||
@Override
|
||||
public String handle(Map<String, Object> request) throws JsonProcessingException {
|
||||
public String handle(Map<String, ?> request) throws JsonProcessingException {
|
||||
long userId = ((Number) request.get("userId")).longValue();
|
||||
long nextIndexVal = ((Number) request.get("nextIndex")).longValue();
|
||||
int maxCount = ((Number) request.get("maxCount")).intValue();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue