mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 02:37:26 +08:00
[ongeki] Add summer events
This commit is contained in:
@@ -2,9 +2,7 @@ package icu.samnyan.aqua.api.controller.sega.game.ongeki;
|
||||
|
||||
import icu.samnyan.aqua.sega.ongeki.dao.gamedata.*;
|
||||
import icu.samnyan.aqua.sega.ongeki.model.gamedata.*;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -53,30 +51,30 @@ public class ApiOngekiGameDataController {
|
||||
public List<GameSkill> getSkillList() {
|
||||
return gameSkillRepository.findAll();
|
||||
}
|
||||
//
|
||||
// @PostMapping("cardList")
|
||||
// public List<GameCard> getCardList(@RequestBody List<GameCard> req) {
|
||||
// return gameCardRepository.saveAll(req);
|
||||
// }
|
||||
//
|
||||
// @PostMapping("charaList")
|
||||
// public List<GameChara> getCharaList(@RequestBody List<GameChara> req) {
|
||||
// return gameCharaRepository.saveAll(req);
|
||||
// }
|
||||
//
|
||||
// @PostMapping("eventList")
|
||||
// public List<GameEvent> getEventList(@RequestBody List<GameEvent> req) {
|
||||
// return gameEventRepository.saveAll(req);
|
||||
// }
|
||||
//
|
||||
// @PostMapping("musicList")
|
||||
// public List<GameMusic> getMusicList(@RequestBody List<GameMusic> req) {
|
||||
// return gameMusicRepository.saveAll(req);
|
||||
// }
|
||||
//
|
||||
// @PostMapping("skillList")
|
||||
// public List<GameSkill> getSkillList(@RequestBody List<GameSkill> req) {
|
||||
// return gameSkillRepository.saveAll(req);
|
||||
// }
|
||||
|
||||
@PostMapping("cardList")
|
||||
public List<GameCard> getCardList(@RequestBody List<GameCard> req) {
|
||||
return gameCardRepository.saveAll(req);
|
||||
}
|
||||
|
||||
@PostMapping("charaList")
|
||||
public List<GameChara> getCharaList(@RequestBody List<GameChara> req) {
|
||||
return gameCharaRepository.saveAll(req);
|
||||
}
|
||||
|
||||
@PostMapping("eventList")
|
||||
public List<GameEvent> getEventList(@RequestBody List<GameEvent> req) {
|
||||
return gameEventRepository.saveAll(req);
|
||||
}
|
||||
|
||||
@PostMapping("musicList")
|
||||
public List<GameMusic> getMusicList(@RequestBody List<GameMusic> req) {
|
||||
return gameMusicRepository.saveAll(req);
|
||||
}
|
||||
|
||||
@PostMapping("skillList")
|
||||
public List<GameSkill> getSkillList(@RequestBody List<GameSkill> req) {
|
||||
return gameSkillRepository.saveAll(req);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user