Przeglądaj źródła

增加专家履职记录

tags/24080901
WendyYang 6 miesięcy temu
rodzic
commit
1072c1d8e4
2 zmienionych plików z 3 dodań i 3 usunięć
  1. +2
    -2
      hz-pm-api/src/main/java/com/hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java
  2. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java

+ 2
- 2
hz-pm-api/src/main/java/com/hz/pm/api/open/controller/OpenApiMeetingExpertInfoController.java Wyświetl plik

@@ -45,9 +45,9 @@ public class OpenApiMeetingExpertInfoController {
return openMeetingExpertManage.sign(po);
}

@GetMapping("/pageExpertJudges")
@PostMapping("/pageExpertJudges")
@ApiOperation("获取专家评价列表")
public PageVo<ExpertJudgeToMhVO> pageExpertJudges(@Valid PageExpertJudgePO po) {
public PageVo<ExpertJudgeToMhVO> pageExpertJudges(@RequestBody @Valid PageExpertJudgePO po) {
return openMeetingExpertManage.pageExpertJudges(po);
}



+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz