‘linchangsheng’ 2 mesi fa
parent
commit
5a7e133a94

+ 1 - 1
mall-miniapp-service/src/main/java/com/gree/mall/miniapp/config/aop/ApiAspect.java

@@ -78,7 +78,7 @@ public class ApiAspect {
 
         //String userId = CommonUtils.getUserId(request);
         String userId = (String)redisUtil.get(Constant.RedisPrefix.TOKEN_WX+token);
-        if (StringUtils.isBlank(userId) || StringUtils.isBlank(jwtUserId)) {
+        if (StringUtils.isBlank(userId)) {
             throw new RemoteServiceException(ResponseHelper.ResponseCode_TOKEN_ID_ERROR, "请求不合法");
         }