Commit 6a53942b630d105dc0e379277ca9631b853b9a42
1 parent
85881fe8
游戏页面,发布云使用
Showing
2 changed files
with
6 additions
and
0 deletions
src/main/java/com/cnlive/shenhe/api/AvsampleCallBackControllerApi.java
| ... | ... | @@ -11,6 +11,7 @@ import org.slf4j.Logger; |
| 11 | 11 | import org.slf4j.LoggerFactory; |
| 12 | 12 | import org.springframework.beans.factory.annotation.Autowired; |
| 13 | 13 | import org.springframework.stereotype.Controller; |
| 14 | +import org.springframework.web.bind.annotation.GetMapping; | |
| 14 | 15 | import org.springframework.web.bind.annotation.PostMapping; |
| 15 | 16 | import org.springframework.web.bind.annotation.RequestBody; |
| 16 | 17 | import org.springframework.web.bind.annotation.RequestMapping; |
| ... | ... | @@ -67,4 +68,9 @@ public class AvsampleCallBackControllerApi { |
| 67 | 68 | } |
| 68 | 69 | return result; |
| 69 | 70 | } |
| 71 | + | |
| 72 | + @GetMapping("/getGame") | |
| 73 | + public String getGame(){ | |
| 74 | + return "html/game.html"; | |
| 75 | + } | |
| 70 | 76 | } | ... | ... |
src/main/resources/public/html/game.html renamed to src/main/resources/templates/html/game.html