From 1072c1d8e4f104427796ed221e3e9fc9abaf6d30 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Tue, 18 Jun 2024 09:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=93=E5=AE=B6=E5=B1=A5?= =?UTF-8?q?=E8=81=8C=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java | 4 ++-- .../java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java b/hz-pm-api/src/main/java/com/hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java index 93f8519..dce3e8c 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java @@ -45,9 +45,9 @@ public class OpenApiMeetingExpertInfoController { return openMeetingExpertManage.sign(po); } - @GetMapping("/pageExpertJudges") + @PostMapping("/pageExpertJudges") @ApiOperation("获取专家评价列表") - public PageVo pageExpertJudges(@Valid PageExpertJudgePO po) { + public PageVo pageExpertJudges(@RequestBody @Valid PageExpertJudgePO po) { return openMeetingExpertManage.pageExpertJudges(po); } diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java index a6476c0..5b0b808 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java @@ -190,7 +190,7 @@ public class OpenApiMeetingExpertManage { } catch (NoSuchAlgorithmException e) { log.error("签名校验错误:", e); } - if (sign != null && sign.length() <= 8 && StrUtil.startWith(sign, key)) { + if (sign != null && sign.length() >= 8 && StrUtil.startWith(sign, key)) { return; } throw new BizException("签名错误");