|
@@ -55,6 +55,12 @@ public class SignVerificationAspect {
|
|
|
@Before("@annotation(com.fdkankan.contro.annotation.SignVerification)")
|
|
|
public void doBefore(JoinPoint joinPoint) throws Exception {
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
|
|
|
+
|
|
|
+ String XUA = request.getHeader("X-UA");
|
|
|
+ if(StrUtil.isNotEmpty(XUA)){
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
String sign = request.getHeader("sign");
|
|
|
String appId = request.getHeader("appId");
|
|
|
if(StrUtil.isEmpty(sign) || StrUtil.isEmpty(appId)){
|