From eadc1f646e81e8ffbe940b13163aee9d107d6663 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期三, 13 三月 2024 09:03:32 +0800
Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai into 2.0

---
 cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java
index 87ad7a7..d4259cd 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java
@@ -164,14 +164,14 @@
     }
 
     @RequestMapping("/base/site/listById")
-    public Site listById(@RequestParam("id") Integer id) {
+    public Site listById(@RequestBody Integer id) {
         Site byId = siteService.getById(id);
         return byId;
     }
 
 
     @RequestMapping("/base/site/listBooks")
-    public List<SiteBooking> listBooks(@RequestParam("id") Integer id) {
+    public List<SiteBooking> listBooks(@RequestBody Integer id) {
         List<SiteBooking> siteId = siteBookingService.list(new QueryWrapper<SiteBooking>().eq("siteId", id));
         return siteId;
     }

--
Gitblit v1.7.1