From a927f1a55fc96bbe3e2c63f3d5fd250fc4961055 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 28 六月 2022 14:35:47 +0800
Subject: [PATCH] 1. 添加pdf相关库
---
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