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/EvaluationController.kt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt index cb04c6e..2dbd910 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/web/EvaluationController.kt @@ -53,8 +53,9 @@ @ApiParam(value = "鐢ㄦ埛id") @PathVariable("userId") userId: String, @ApiParam(value = "椤电爜") @RequestParam(value = "page") page: Int, @ApiParam(value = "鍗曢〉鏁版嵁閲�") @RequestParam(value = "per_page") perPage: Int, + @ApiParam(value = "鍓嶇骞冲彴") @RequestParam("platform", required = false) platform:String?, response: HttpServletResponse - ) = evaluationService.getHistoryPoint(userId, page, perPage, response) + ) = evaluationService.getHistoryPoint(userId, page, perPage, platform, response) @ApiOperation(value = "鑾峰彇淇$敤璇勪及缁撴灉") @GetMapping("/creditInfo") @@ -86,7 +87,7 @@ @ApiParam(value = "鐢ㄦ埛id") @RequestParam("userId") userId: String, @ApiParam(value = "璇勫垎鍛ㄦ湡") @RequestParam("period") period: String, @ApiParam(value = "璇勫垎瑙勫垯id") @RequestParam(value = "ruleId", required = false) ruleId: String?, - @ApiParam(value = "鍏蜂綋鎵e垎鏉$洰") @RequestBody itemList: List<Pair<String, String>>, + @ApiParam(value = "鍏蜂綋鎵e垎鏉$洰锛堝彧浼犳渶灏忕骇鍒殑璇勪及椤癸級") @RequestBody itemList: List<Pair<String, String>>, ) = evaluationService.uploadScore(userId, period, ruleId, itemList) @ApiOperation(value = "鑾峰彇娴嬭瘎璇︽儏") -- Gitblit v1.9.3