From bfd4c16d20d79e56ad38bdb96382959b5b489b6b Mon Sep 17 00:00:00 2001 From: luoyisheng <2855143437@qq.com> Date: 星期四, 05 十月 2023 15:03:33 +0800 Subject: [PATCH] 9.26。15 --- cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java | 3 ++- .idea/workspace.xml | 15 ++++++++++++--- cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java | 8 ++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9742157..97f25fb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -27,7 +27,8 @@ <component name="ChangeListManager"> <list default="true" id="cb08d02f-fd4f-4fa2-85fe-abd508fa83ac" name="Default Changelist" comment="9.26。15"> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> - <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/webapp/WEB-INF/view/system/ball/ball_pre_add.html" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java" afterDir="false" /> + <change beforePath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> @@ -302,7 +303,7 @@ <workItem from="1696427897814" duration="1362000" /> <workItem from="1696433675086" duration="2211000" /> <workItem from="1696462020097" duration="481000" /> - <workItem from="1696465598653" duration="13586000" /> + <workItem from="1696465598653" duration="14243000" /> </task> <task id="LOCAL-00001" summary="后台代码删除"> <created>1690249807612</created> @@ -579,7 +580,15 @@ <option name="project" value="LOCAL" /> <updated>1696485767076</updated> </task> - <option name="localTasksCounter" value="37" /> + <task id="LOCAL-00037" summary="9.26。15"> + <option name="closed" value="true" /> + <created>1696488897294</created> + <option name="number" value="00037" /> + <option name="presentableId" value="LOCAL-00037" /> + <option name="project" value="LOCAL" /> + <updated>1696488897295</updated> + </task> + <option name="localTasksCounter" value="38" /> <servers /> </component> <component name="TypeScriptGeneratedFilesManager"> diff --git a/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java b/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java index 93fcfe6..c012371 100644 --- a/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java +++ b/cloud-server-management/src/main/java/com/dsh/course/feignClient/other/BallClient.java @@ -19,5 +19,6 @@ @PostMapping("/student/webStudentList") List<Game> list(@RequestBody BallQueryDto ballQueryDto); - + @PostMapping("/save") + void save(@RequestBody Game game); } diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java index fdec219..52ce056 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java @@ -114,6 +114,14 @@ return ballClient.list(ballQueryDto); } + @RequestMapping("/save") + @ResponseBody + public ResultUtil save(@RequestBody Game game) { + System.out.println("============"+game); + ballClient.save(game); + return null; + } + @RequestMapping("/pre_add") public String add(Model model) { // Map<String,String> map = new HashMap<>(); -- Gitblit v1.7.1