‘linchangsheng’ 2 тижнів тому
батько
коміт
dd4ae0eb72

+ 2 - 0
src/main/java/com/gree/mall/miniapp/config/aop/ApiAspect.java

@@ -69,6 +69,8 @@ public class ApiAspect {
         }
 
         String userId = CommonUtils.getUserId(request);
+        String token = CommonUtils.getToken(request);
+        log.info("打印token:"+token);
         if (StringUtils.isEmpty(userId)) {
             throw new RemoteServiceException(ResponseHelper.ResponseCode_AUTH_ERROR, "请求不合法");
         }