|
@@ -37,10 +37,10 @@ public class SignVerifyAspect {
|
|
|
if(StringUtils.isNotBlank(header)){
|
|
|
return joinPoint.proceed();
|
|
|
}
|
|
|
- String sign = request.getHeader(verifySign.signParam());
|
|
|
- String appId = request.getHeader(verifySign.appId());
|
|
|
+ String sign = request.getHeader(verifySign.signParam().toLowerCase());
|
|
|
+ String appId = request.getHeader(verifySign.appId().toLowerCase());
|
|
|
|
|
|
- log.info("verifySign--sign:{},appid:{}",sign,appId);
|
|
|
+ log.info("verifySign--requestPath:{},sign:{},appId:{}",request.getRequestURL(),sign,appId);
|
|
|
AppSecret byAppId = appSecretService.getByAppId(appId);
|
|
|
if(byAppId == null){
|
|
|
throw new BusinessException(ResultCode.SIGN_ERROR);
|