mirror of https://github.com/jeecgboot/jeecg-boot
提示语修改
parent
3e9b7ccfc1
commit
9c5bd7193f
|
@ -42,7 +42,7 @@ public class SignAuthInterceptor implements HandlerInterceptor {
|
|||
String xTimestamp = request.getHeader(CommonConstant.X_TIMESTAMP);
|
||||
|
||||
if(oConvertUtils.isEmpty(xTimestamp)){
|
||||
Result<?> result = Result.error("Sign签名校验失败!");
|
||||
Result<?> result = Result.error("Sign签名校验失败,时间戳为空!");
|
||||
log.error("Sign 签名校验失败!Header xTimestamp 为空");
|
||||
//校验失败返回前端
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
|
@ -79,6 +79,7 @@ public class SignAuthInterceptor implements HandlerInterceptor {
|
|||
log.debug("Sign 签名通过!Header Sign : {}",headerSign);
|
||||
return true;
|
||||
} else {
|
||||
log.info("sign allParams: {}", allParams);
|
||||
log.error("request URI = " + request.getRequestURI());
|
||||
log.error("Sign 签名校验失败!Header Sign : {}",headerSign);
|
||||
//校验失败返回前端
|
||||
|
|
Loading…
Reference in New Issue