From 23bd719cebe5feeff4e48fde925b0b39755eea93 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 15 十一月 2022 10:59:50 +0800
Subject: [PATCH] 2022.11.15

---
 src/main/kotlin/cn/flightfeather/supervision/lightshare/web/ProblemController.kt |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/ProblemController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/ProblemController.kt
index 21a30f3..db1faf6 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/ProblemController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/ProblemController.kt
@@ -3,6 +3,7 @@
 import cn.flightfeather.supervision.lightshare.service.ProblemService
 import io.swagger.annotations.Api
 import io.swagger.annotations.ApiOperation
+import io.swagger.annotations.ApiParam
 import org.springframework.web.bind.annotation.GetMapping
 import org.springframework.web.bind.annotation.RequestMapping
 import org.springframework.web.bind.annotation.RequestParam
@@ -16,8 +17,8 @@
     @ApiOperation(value = "鏍规嵁骞存湀鑾峰彇鐢ㄦ埛鐨勯棶棰�")
     @GetMapping("/list")
     fun getProblemsByPeriod(
-            @RequestParam("userId") userId: String,
-            @RequestParam("year") year: Int,
-            @RequestParam("month") month: Int
+        @ApiParam("鐢ㄦ埛id") @RequestParam("userId") userId: String,
+        @ApiParam("骞翠唤") @RequestParam("year") year: Int,
+        @ApiParam("鏈堜唤") @RequestParam("month") month: Int
     ) = problemService.getProblemsByPeriod(userId, year, month)
 }
\ No newline at end of file

--
Gitblit v1.9.3