k94314517
2024-07-19 4dc531fc2dcd6517fffa2e9760225f5705537258
server/web/src/main/java/com/doumee/api/web/ApiController.java
@@ -52,9 +52,9 @@
        return obj != null ? (Long) obj : null;
    }
    protected Long getUserId() {
        if(isDebug){
            return 2L;
        }
//        if(isDebug){
//            return 2L;
//        }
        Object obj = this.getRequest().getAttribute(JwtTokenUtil.UserId_Name);
        return obj != null ? (Long) obj : null;
    }