优化监控

1.x
tanghc 5 years ago
parent 69760d2f05
commit 9067a34118
  1. 5
      sop-gateway/src/main/java/com/gitee/sop/gateway/controller/ErrorLogController.java

@ -62,7 +62,10 @@ public class ErrorLogController {
private void check(HttpServletRequest request) {
Map<String, String> params = RequestUtil.convertRequestParamsToMap(request);
ApiParam apiParam = ApiParam.build(params);
signer.checkSign(apiParam, secret);
boolean right = signer.checkSign(apiParam, secret);
if (!right) {
throw new RuntimeException("签名校验失败");
}
}
}

Loading…
Cancel
Save