Browse Source

签名校验修改

tags/24080901
WendyYang 6 months ago
parent
commit
29d25f450e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/open/manage/OpenApiMeetingExpertManage.java View File

@@ -190,7 +190,7 @@ public class OpenApiMeetingExpertManage {
} catch (NoSuchAlgorithmException e) { } catch (NoSuchAlgorithmException e) {
log.error("签名校验错误:", e); log.error("签名校验错误:", e);
} }
if (sign != null && sign.length() >= 8 && StrUtil.startWith(sign, key)) {
if (sign != null && sign.length() >= 8 && StrUtil.endWith(sign, key)) {
return; return;
} }
throw new BizException("签名错误"); throw new BizException("签名错误");


Loading…
Cancel
Save