From 4b1453e19306592f703aa794e238bd028f67d320 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期五, 24 一月 2025 16:20:50 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/2.0' into 2.0 --- cloud-server-other/src/main/java/com/dsh/other/controller/TGameController.java | 12 +++--------- 1 files changed, 3 insertions(+), 9 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..877bcb0 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"); + HttpRequest httpRequest = HttpRequest.get("https://port.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