|
@@ -10,6 +10,7 @@ import org.jeecg.modules.app.vo.game.FindByGameIdPriceVo;
|
|
|
import org.jeecg.modules.app.vo.game.FindByIdResponse;
|
|
import org.jeecg.modules.app.vo.game.FindByIdResponse;
|
|
|
import org.jeecg.modules.app.vo.game.FindPagResponse;
|
|
import org.jeecg.modules.app.vo.game.FindPagResponse;
|
|
|
import org.jeecg.modules.app.vo.game.FindPageGameVO;
|
|
import org.jeecg.modules.app.vo.game.FindPageGameVO;
|
|
|
|
|
+import org.jeecg.modules.system.app.entity.AppGame;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -50,4 +51,10 @@ public class GameController {
|
|
|
public Result<FindByGameIdPriceVo> findByGameId(@RequestParam("id") String id){
|
|
public Result<FindByGameIdPriceVo> findByGameId(@RequestParam("id") String id){
|
|
|
return iGameService.findByGameId(id);
|
|
return iGameService.findByGameId(id);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @GetMapping("/findScoreByGameId")
|
|
|
|
|
+ @Operation(summary = "根据赛事id查询比赛详情")
|
|
|
|
|
+ public Result<AppGame> findScoreByGameId(@RequestParam("id") String id){
|
|
|
|
|
+ return iGameService.findScoreByGameId(id);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|