From 196bb14112448857a885e32dc4149e308e00b01a Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 15 八月 2024 11:57:15 +0800
Subject: [PATCH] 2024.8.15 各项修正

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

diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
index 19e0088..795ef11 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationsubruleController.kt
@@ -33,5 +33,11 @@
     @DeleteMapping("/{id}")
     fun delete (@PathVariable id: String) = evaluationsubruleService.delete(id)
 
-
+    @ApiOperation(value = "鏌ユ壘璇勫垎瑙勫垯瀛愰」琛ㄤ互鍙婂搴旂殑鍏蜂綋寰楀垎")
+    @GetMapping("/score")
+    fun getScore(
+        @ApiParam(value = "鐢ㄦ埛id") @RequestParam("userId") userId:String,
+        @ApiParam(value = "璇勪及鍛ㄦ湡", example = "yyyy/M-M") @RequestParam("time") time:String,
+        @ApiParam(value = "鍓嶇骞冲彴") @RequestParam("platform", required = false) platform:String?,
+    ) = evaluationsubruleService.getScore(userId, time, platform)
 }
\ No newline at end of file

--
Gitblit v1.9.3