大赛管理功能

This commit is contained in:
tiger_zhou 2024-03-07 14:35:55 +08:00
parent 2a0e126a7c
commit 13451cbec0
2 changed files with 6 additions and 3 deletions

@ -1 +1 @@
Subproject commit 6e89e00929268799a12329aafb770e1a74ec491d
Subproject commit 6eb2b603c7661ba1ffcf1d6659708ac5b859e328

View File

@ -7,6 +7,7 @@ import club.joylink.rtss.vo.client.PageVO;
import club.joylink.rtss.vo.race.RaceSeasonOuterClass.RaceSeasonCreateVO;
import club.joylink.rtss.vo.race.RaceSeasonOuterClass.RaceSeasonVO;
import club.joylink.rtss.vo.race.RaceSeasonQueryVO;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
@ -70,8 +71,10 @@ public class RaceSeasonController {
* @return
*/
@GetMapping("/{id}/html")
public String queryHtmlContent(@PathVariable("id") Long id) {
return this.raceSeasonService.queryHtmlContent(id);
public Map<String, String> queryHtmlContent(@PathVariable("id") Long id) {
String html = this.raceSeasonService.queryHtmlContent(id);
return Map.of("html", html);
}
/**