Commit 6a53942b630d105dc0e379277ca9631b853b9a42

Authored by liwei2917
1 parent 85881fe8

游戏页面,发布云使用

src/main/java/com/cnlive/shenhe/api/AvsampleCallBackControllerApi.java
@@ -11,6 +11,7 @@ import org.slf4j.Logger; @@ -11,6 +11,7 @@ import org.slf4j.Logger;
11 import org.slf4j.LoggerFactory; 11 import org.slf4j.LoggerFactory;
12 import org.springframework.beans.factory.annotation.Autowired; 12 import org.springframework.beans.factory.annotation.Autowired;
13 import org.springframework.stereotype.Controller; 13 import org.springframework.stereotype.Controller;
  14 +import org.springframework.web.bind.annotation.GetMapping;
14 import org.springframework.web.bind.annotation.PostMapping; 15 import org.springframework.web.bind.annotation.PostMapping;
15 import org.springframework.web.bind.annotation.RequestBody; 16 import org.springframework.web.bind.annotation.RequestBody;
16 import org.springframework.web.bind.annotation.RequestMapping; 17 import org.springframework.web.bind.annotation.RequestMapping;
@@ -67,4 +68,9 @@ public class AvsampleCallBackControllerApi { @@ -67,4 +68,9 @@ public class AvsampleCallBackControllerApi {
67 } 68 }
68 return result; 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