|
@@ -53,7 +53,6 @@ public class SignVerificationAspect {
|
|
|
@Before("@annotation(com.fdkankan.contro.annotation.SignVerification)")
|
|
|
public void doBefore(JoinPoint joinPoint) throws Exception {
|
|
|
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
|
|
|
- // 读取session中的用户
|
|
|
String sign = request.getHeader("sign");
|
|
|
String appId = request.getHeader("appId");
|
|
|
if(StrUtil.isEmpty(sign) || StrUtil.isEmpty(appId)){
|