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("签名错误");