From 1f1b5541a872a0b2d974344df18e0890f414cc9b Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期五, 08 三月 2024 17:43:59 +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/TGameController.java |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/TGameController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/TGameController.java
index 1fba71a..9fd8a77 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/TGameController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/TGameController.java
@@ -48,21 +48,15 @@
     @ApiImplicitParams({
             @ApiImplicitParam(value = "场地名称", name = "name", required = true, dataType = "String"),
     })
-    public ResultUtil getSpaceId(String name){
+    public ResultUtil getSpaceId(String name) {
         try {
             HttpRequest httpRequest = HttpRequest.get("https://try.daowepark.com/v7/user_api/general/space_list?page=1&page_num=100");
             HttpResponse execute = httpRequest.execute();
             String body = execute.body();
             return ResultUtil.success();
-        }catch (Exception e){
+        } catch (Exception e) {
             return ResultUtil.runErr();
         }
     }
 
-    public static void main(String[] args) {
-        HttpRequest httpRequest = HttpRequest.get("https://try.daowepark.com/v7/user_api/general/space_list?page=1&page_num=100");
-        HttpResponse execute = httpRequest.execute();
-        String body = execute.body();
-        System.out.println(body);
-    }
 }

--
Gitblit v1.7.1