From 1e790795f4e2c365f604ecc0fc1b290e3ff3c35f Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期五, 20 十月 2023 09:34:22 +0800 Subject: [PATCH] 更新bug --- cloud-server-other/src/main/java/com/dsh/other/controller/SiteController.java | 12 ++++++++++-- 1 files changed, 10 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 8fcd7e0..8ea716e 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 @@ -205,8 +205,8 @@ @ApiImplicitParams({ @ApiImplicitParam(value = "场地id", name = "id", dataType = "int", required = true), @ApiImplicitParam(value = "日期(2023-01-01)", name = "day", dataType = "string", required = true), - @ApiImplicitParam(value = "选择场地的名称", name = "day", dataType = "string", required = true), - @ApiImplicitParam(value = "半场名称", name = "day", dataType = "string", required = false) + @ApiImplicitParam(value = "半场名称", name = "halfName", dataType = "string", required = false), + @ApiImplicitParam(value = "选择场地的名称", name = "siteName", dataType = "string", required = false) }) public ResultUtil<List<QuerySiteTimes>> querySiteTimes(Integer id, String day,String halfName,String siteName){ try { @@ -536,6 +536,14 @@ @Autowired private IOperatorUserService operatorUserService; + + @ResponseBody + @PostMapping("/base/site/game") + public List<Map<String, Object>> game(@RequestBody Integer appUserId){ + return service.game(appUserId); + + } + @ResponseBody @PostMapping("/base/site/queryOperator") public OperatorUser queryOperator(@RequestBody List<Integer> stores){ -- Gitblit v1.7.1