From a53aeed91afdf90bceefe850b2e1995d6e198cab Mon Sep 17 00:00:00 2001 From: linfeng <2445465217@qq.com> Date: Wed, 17 Aug 2022 12:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/io/linfeng/Applications.java | 13 ++- .../io/linfeng/common/annotation/SysLog.java | 12 ++- .../io/linfeng/common/aspect/RedisAspect.java | 12 ++- .../linfeng/common/aspect/SysLogAspect.java | 12 ++- .../common/exception/LinfengException.java | 12 ++- .../exception/LinfengExceptionHandler.java | 12 ++- .../response/AppChildrenCommentResponse.java | 11 +++ .../common/response/AppCommentResponse.java | 11 +++ .../common/response/AppUserInfoResponse.java | 11 +++ .../common/response/AppUserResponse.java | 11 +++ .../response/ChatMessageListResponse.java | 11 +++ .../response/ClassTopicImageResponse.java | 11 +++ .../response/DiscussDetailResponse.java | 11 +++ .../common/response/HomeRateResponse.java | 11 +++ .../common/response/MessageListResponse.java | 11 +++ .../response/MessageNoticeResponse.java | 11 +++ .../response/MessageNumberResponse.java | 11 +++ .../common/response/PostDetailResponse.java | 11 +++ .../common/response/PostListResponse.java | 11 +++ .../common/response/TopicDetailResponse.java | 11 +++ .../common/response/TopicListResponse.java | 11 +++ .../common/response/TopicUserResponse.java | 11 +++ .../common/thread/AsyncTaskExecutePool.java | 11 +++ .../common/thread/AsyncTaskProperties.java | 11 +++ .../java/io/linfeng/config/CorsConfig.java | 13 ++- .../java/io/linfeng/config/FilterConfig.java | 13 ++- .../java/io/linfeng/config/KaptchaConfig.java | 13 ++- .../io/linfeng/config/MybatisPlusConfig.java | 13 ++- .../java/io/linfeng/config/RedisConfig.java | 13 ++- .../java/io/linfeng/config/ShiroConfig.java | 12 ++- .../java/io/linfeng/config/SwaggerConfig.java | 15 ++- .../datasource/annotation/DataSource.java | 12 ++- .../datasource/aspect/DataSourceAspect.java | 12 ++- .../config/DynamicContextHolder.java | 12 ++- .../datasource/config/DynamicDataSource.java | 12 ++- .../config/DynamicDataSourceConfig.java | 12 ++- .../config/DynamicDataSourceFactory.java | 12 ++- .../properties/DataSourceProperties.java | 12 ++- .../DynamicDataSourceProperties.java | 12 ++- .../admin/controller/AppUserController.java | 12 ++- .../admin/controller/CategoryController.java | 11 +++ .../admin/controller/CommentController.java | 12 +++ .../admin/controller/DiscussController.java | 12 +++ .../admin/controller/LinkController.java | 12 +++ .../admin/controller/MessageController.java | 12 +++ .../admin/controller/PostController.java | 12 +++ .../admin/controller/SensitiveController.java | 12 +++ .../admin/controller/StatisticController.java | 12 +++ .../admin/controller/SystemController.java | 12 +++ .../admin/controller/TopicController.java | 12 +++ .../linfeng/modules/admin/dao/AppUserDao.java | 12 +++ .../modules/admin/dao/CategoryDao.java | 12 +++ .../linfeng/modules/admin/dao/CommentDao.java | 12 +++ .../linfeng/modules/admin/dao/DiscussDao.java | 12 +++ .../io/linfeng/modules/admin/dao/LinkDao.java | 12 +++ .../linfeng/modules/admin/dao/MessageDao.java | 12 +++ .../io/linfeng/modules/admin/dao/PostDao.java | 12 +++ .../modules/admin/dao/SensitiveDao.java | 12 +++ .../linfeng/modules/admin/dao/SystemDao.java | 12 +++ .../linfeng/modules/admin/dao/TopicDao.java | 12 +++ .../modules/admin/entity/AppUserEntity.java | 12 +++ .../modules/admin/entity/CategoryEntity.java | 12 +++ .../modules/admin/entity/CommentEntity.java | 12 +++ .../modules/admin/entity/DiscussEntity.java | 12 +++ .../modules/admin/entity/LinkEntity.java | 12 +++ .../modules/admin/entity/MessageEntity.java | 12 +++ .../modules/admin/entity/PostEntity.java | 12 +++ .../modules/admin/entity/SensitiveEntity.java | 12 +++ .../modules/admin/entity/SystemEntity.java | 12 +++ .../modules/admin/entity/TopicEntity.java | 12 +++ .../modules/admin/service/AppUserService.java | 12 +++ .../admin/service/CategoryService.java | 12 +++ .../modules/admin/service/CommentService.java | 12 +++ .../modules/admin/service/DiscussService.java | 13 ++- .../modules/admin/service/LinkService.java | 12 +++ .../modules/admin/service/MessageService.java | 19 ++-- .../modules/admin/service/PostService.java | 12 +++ .../admin/service/SensitiveService.java | 16 ++- .../modules/admin/service/SystemService.java | 12 +++ .../modules/admin/service/TopicService.java | 20 ++-- .../service/impl/AppUserServiceImpl.java | 12 +++ .../service/impl/CategoryServiceImpl.java | 12 +++ .../service/impl/CommentServiceImpl.java | 12 +++ .../service/impl/DiscussServiceImpl.java | 20 ++-- .../admin/service/impl/LinkServiceImpl.java | 15 ++- .../service/impl/MessageServiceImpl.java | 99 +++---------------- .../admin/service/impl/PostServiceImpl.java | 21 ++-- .../service/impl/SensitiveServiceImpl.java | 56 +++-------- .../admin/service/impl/SystemServiceImpl.java | 12 +++ .../admin/service/impl/TopicServiceImpl.java | 24 ++--- .../linfeng/modules/app/annotation/Login.java | 12 ++- .../modules/app/annotation/LoginUser.java | 12 ++- .../modules/app/config/WebMvcConfig.java | 12 ++- .../app/controller/AppCommentController.java | 15 +++ .../app/controller/AppLoginController.java | 11 +++ .../app/controller/AppOssController.java | 12 ++- .../app/controller/AppPostController.java | 11 +++ .../app/controller/AppSystemController.java | 35 +++++++ .../modules/app/dao/CommentThumbsDao.java | 11 +++ .../io/linfeng/modules/app/dao/FollowDao.java | 11 +++ .../io/linfeng/modules/app/dao/MomentDao.java | 11 +++ .../modules/app/dao/PostCollectionDao.java | 11 +++ .../modules/app/dao/PostFabulousDao.java | 11 +++ .../modules/app/dao/TopicAdminDao.java | 11 +++ .../linfeng/modules/app/dao/TopicTopDao.java | 11 +++ .../io/linfeng/modules/app/dao/UserDao.java | 12 ++- .../linfeng/modules/app/dao/UserTopicDao.java | 11 +++ .../app/entity/CommentThumbsEntity.java | 11 +++ .../modules/app/entity/FollowEntity.java | 11 +++ .../modules/app/entity/MomentEntity.java | 11 +++ .../app/entity/PostCollectionEntity.java | 13 ++- .../app/entity/PostFabulousEntity.java | 11 +++ .../modules/app/entity/TopicAdminEntity.java | 11 +++ .../modules/app/entity/TopicTopEntity.java | 11 +++ .../modules/app/entity/UserEntity.java | 12 ++- .../modules/app/entity/UserTopicEntity.java | 12 ++- .../modules/app/form/AddCollectionForm.java | 12 ++- .../modules/app/form/AddCommentForm.java | 12 ++- .../modules/app/form/AddFollowForm.java | 12 ++- .../modules/app/form/AddPostDeleteForm.java | 12 ++- .../linfeng/modules/app/form/AddPostForm.java | 11 +++ .../modules/app/form/AddThumbsForm.java | 12 ++- .../modules/app/form/AppUserInfoForm.java | 12 ++- .../modules/app/form/AppUserUpdateForm.java | 12 ++- .../modules/app/form/ChatListForm.java | 12 ++- .../modules/app/form/ChatSendForm.java | 12 ++- .../modules/app/form/DelCommentForm.java | 12 ++- .../modules/app/form/DiscussAddForm.java | 12 ++- .../modules/app/form/DiscussDeleteForm.java | 12 ++- .../modules/app/form/DiscussListForm.java | 12 ++- .../modules/app/form/LinkListForm.java | 12 ++- .../linfeng/modules/app/form/LoginForm.java | 12 ++- .../modules/app/form/PostListForm.java | 12 ++- .../modules/app/form/RegisterForm.java | 12 ++- .../modules/app/form/SendCodeForm.java | 11 +++ .../modules/app/form/SetAdminForm.java | 12 ++- .../modules/app/form/SmsLoginForm.java | 12 ++- .../modules/app/form/TopicAddForm.java | 43 -------- .../modules/app/form/TopicUpdateForm.java | 36 ------- .../modules/app/form/TopicUserForm.java | 26 ----- .../app/form/UpdateChatStatusForm.java | 12 ++- .../form/UpdateSystemNoticeStatusForm.java | 12 ++- .../modules/app/form/UserJoinTopicForm.java | 21 ---- .../linfeng/modules/app/form/WxLoginForm.java | 12 ++- .../interceptor/AuthorizationInterceptor.java | 12 ++- ...oginUserHandlerMethodArgumentResolver.java | 12 ++- .../app/service/CommentThumbsService.java | 11 +++ .../modules/app/service/FollowService.java | 11 +++ .../modules/app/service/MomentService.java | 11 +++ .../app/service/PostCollectionService.java | 11 +++ .../app/service/PostFabulousService.java | 11 +++ .../app/service/TopicAdminService.java | 11 +++ .../modules/app/service/TopicTopService.java | 11 +++ .../modules/app/service/UserTopicService.java | 11 +++ .../impl/CommentThumbsServiceImpl.java | 11 +++ .../app/service/impl/FollowServiceImpl.java | 11 +++ .../app/service/impl/MomentServiceImpl.java | 11 +++ .../impl/PostCollectionServiceImpl.java | 11 +++ .../service/impl/PostFabulousServiceImpl.java | 11 +++ .../service/impl/TopicAdminServiceImpl.java | 11 +++ .../app/service/impl/TopicTopServiceImpl.java | 11 +++ .../service/impl/UserTopicServiceImpl.java | 11 +++ .../linfeng/modules/app/utils/JwtUtils.java | 12 ++- .../linfeng/modules/app/utils/LocalUser.java | 11 +++ .../modules/job/config/ScheduleConfig.java | 12 ++- .../job/controller/ScheduleJobController.java | 12 ++- .../controller/ScheduleJobLogController.java | 12 ++- .../modules/job/dao/ScheduleJobDao.java | 12 ++- .../modules/job/dao/ScheduleJobLogDao.java | 12 ++- .../io/linfeng/modules/job/task/ITask.java | 12 ++- .../linfeng/modules/job/task/MessageTask.java | 23 +++-- .../io/linfeng/modules/job/task/TestTask.java | 18 ++-- .../modules/job/utils/ScheduleJob.java | 12 ++- .../modules/job/utils/ScheduleUtils.java | 12 ++- .../utils/config.js | 8 +- 175 files changed, 1959 insertions(+), 397 deletions(-) create mode 100644 src/main/java/io/linfeng/modules/app/controller/AppSystemController.java delete mode 100644 src/main/java/io/linfeng/modules/app/form/TopicAddForm.java delete mode 100644 src/main/java/io/linfeng/modules/app/form/TopicUpdateForm.java delete mode 100644 src/main/java/io/linfeng/modules/app/form/TopicUserForm.java delete mode 100644 src/main/java/io/linfeng/modules/app/form/UserJoinTopicForm.java diff --git a/src/main/java/io/linfeng/Applications.java b/src/main/java/io/linfeng/Applications.java index 5ee0e1e..ae39213 100644 --- a/src/main/java/io/linfeng/Applications.java +++ b/src/main/java/io/linfeng/Applications.java @@ -1,4 +1,15 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng; import org.springframework.boot.SpringApplication; diff --git a/src/main/java/io/linfeng/common/annotation/SysLog.java b/src/main/java/io/linfeng/common/annotation/SysLog.java index cb37ee6..8cc760e 100644 --- a/src/main/java/io/linfeng/common/annotation/SysLog.java +++ b/src/main/java/io/linfeng/common/annotation/SysLog.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.annotation; import java.lang.annotation.Documented; diff --git a/src/main/java/io/linfeng/common/aspect/RedisAspect.java b/src/main/java/io/linfeng/common/aspect/RedisAspect.java index b3943a4..441dd8c 100644 --- a/src/main/java/io/linfeng/common/aspect/RedisAspect.java +++ b/src/main/java/io/linfeng/common/aspect/RedisAspect.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.aspect; import io.linfeng.common.exception.LinfengException; diff --git a/src/main/java/io/linfeng/common/aspect/SysLogAspect.java b/src/main/java/io/linfeng/common/aspect/SysLogAspect.java index eaef184..38d8a6b 100644 --- a/src/main/java/io/linfeng/common/aspect/SysLogAspect.java +++ b/src/main/java/io/linfeng/common/aspect/SysLogAspect.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.aspect; import com.google.gson.Gson; diff --git a/src/main/java/io/linfeng/common/exception/LinfengException.java b/src/main/java/io/linfeng/common/exception/LinfengException.java index 0ae7796..acfcd57 100644 --- a/src/main/java/io/linfeng/common/exception/LinfengException.java +++ b/src/main/java/io/linfeng/common/exception/LinfengException.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.exception; /** diff --git a/src/main/java/io/linfeng/common/exception/LinfengExceptionHandler.java b/src/main/java/io/linfeng/common/exception/LinfengExceptionHandler.java index b70d0c8..12a837d 100644 --- a/src/main/java/io/linfeng/common/exception/LinfengExceptionHandler.java +++ b/src/main/java/io/linfeng/common/exception/LinfengExceptionHandler.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.exception; import io.linfeng.common.utils.R; diff --git a/src/main/java/io/linfeng/common/response/AppChildrenCommentResponse.java b/src/main/java/io/linfeng/common/response/AppChildrenCommentResponse.java index 8605937..05736fe 100644 --- a/src/main/java/io/linfeng/common/response/AppChildrenCommentResponse.java +++ b/src/main/java/io/linfeng/common/response/AppChildrenCommentResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/common/response/AppCommentResponse.java b/src/main/java/io/linfeng/common/response/AppCommentResponse.java index 3aaac06..be6a3db 100644 --- a/src/main/java/io/linfeng/common/response/AppCommentResponse.java +++ b/src/main/java/io/linfeng/common/response/AppCommentResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/common/response/AppUserInfoResponse.java b/src/main/java/io/linfeng/common/response/AppUserInfoResponse.java index fc59722..fa0d2e5 100644 --- a/src/main/java/io/linfeng/common/response/AppUserInfoResponse.java +++ b/src/main/java/io/linfeng/common/response/AppUserInfoResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import lombok.Data; diff --git a/src/main/java/io/linfeng/common/response/AppUserResponse.java b/src/main/java/io/linfeng/common/response/AppUserResponse.java index d7b5efc..bbbd5c8 100644 --- a/src/main/java/io/linfeng/common/response/AppUserResponse.java +++ b/src/main/java/io/linfeng/common/response/AppUserResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import lombok.Data; diff --git a/src/main/java/io/linfeng/common/response/ChatMessageListResponse.java b/src/main/java/io/linfeng/common/response/ChatMessageListResponse.java index f5710bc..9fd66d3 100644 --- a/src/main/java/io/linfeng/common/response/ChatMessageListResponse.java +++ b/src/main/java/io/linfeng/common/response/ChatMessageListResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/common/response/ClassTopicImageResponse.java b/src/main/java/io/linfeng/common/response/ClassTopicImageResponse.java index 8b38649..07a9fa8 100644 --- a/src/main/java/io/linfeng/common/response/ClassTopicImageResponse.java +++ b/src/main/java/io/linfeng/common/response/ClassTopicImageResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import lombok.Data; diff --git a/src/main/java/io/linfeng/common/response/DiscussDetailResponse.java b/src/main/java/io/linfeng/common/response/DiscussDetailResponse.java index 9e2ebc5..4cb2ab7 100644 --- a/src/main/java/io/linfeng/common/response/DiscussDetailResponse.java +++ b/src/main/java/io/linfeng/common/response/DiscussDetailResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/common/response/HomeRateResponse.java b/src/main/java/io/linfeng/common/response/HomeRateResponse.java index f73606c..82290be 100644 --- a/src/main/java/io/linfeng/common/response/HomeRateResponse.java +++ b/src/main/java/io/linfeng/common/response/HomeRateResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/common/response/MessageListResponse.java b/src/main/java/io/linfeng/common/response/MessageListResponse.java index aa9f79d..26122c8 100644 --- a/src/main/java/io/linfeng/common/response/MessageListResponse.java +++ b/src/main/java/io/linfeng/common/response/MessageListResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/common/response/MessageNoticeResponse.java b/src/main/java/io/linfeng/common/response/MessageNoticeResponse.java index 50e506e..28f0f82 100644 --- a/src/main/java/io/linfeng/common/response/MessageNoticeResponse.java +++ b/src/main/java/io/linfeng/common/response/MessageNoticeResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/common/response/MessageNumberResponse.java b/src/main/java/io/linfeng/common/response/MessageNumberResponse.java index dfb7ca2..835283c 100644 --- a/src/main/java/io/linfeng/common/response/MessageNumberResponse.java +++ b/src/main/java/io/linfeng/common/response/MessageNumberResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import lombok.Data; diff --git a/src/main/java/io/linfeng/common/response/PostDetailResponse.java b/src/main/java/io/linfeng/common/response/PostDetailResponse.java index 1342505..696c0fd 100644 --- a/src/main/java/io/linfeng/common/response/PostDetailResponse.java +++ b/src/main/java/io/linfeng/common/response/PostDetailResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/common/response/PostListResponse.java b/src/main/java/io/linfeng/common/response/PostListResponse.java index 18315e2..56f6744 100644 --- a/src/main/java/io/linfeng/common/response/PostListResponse.java +++ b/src/main/java/io/linfeng/common/response/PostListResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/common/response/TopicDetailResponse.java b/src/main/java/io/linfeng/common/response/TopicDetailResponse.java index 82bf55a..2ce842e 100644 --- a/src/main/java/io/linfeng/common/response/TopicDetailResponse.java +++ b/src/main/java/io/linfeng/common/response/TopicDetailResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import com.baomidou.mybatisplus.annotation.IdType; diff --git a/src/main/java/io/linfeng/common/response/TopicListResponse.java b/src/main/java/io/linfeng/common/response/TopicListResponse.java index b18ae60..49065a1 100644 --- a/src/main/java/io/linfeng/common/response/TopicListResponse.java +++ b/src/main/java/io/linfeng/common/response/TopicListResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import com.baomidou.mybatisplus.annotation.IdType; diff --git a/src/main/java/io/linfeng/common/response/TopicUserResponse.java b/src/main/java/io/linfeng/common/response/TopicUserResponse.java index f73ae91..741f9d0 100644 --- a/src/main/java/io/linfeng/common/response/TopicUserResponse.java +++ b/src/main/java/io/linfeng/common/response/TopicUserResponse.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.response; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/common/thread/AsyncTaskExecutePool.java b/src/main/java/io/linfeng/common/thread/AsyncTaskExecutePool.java index 520d592..08421d0 100644 --- a/src/main/java/io/linfeng/common/thread/AsyncTaskExecutePool.java +++ b/src/main/java/io/linfeng/common/thread/AsyncTaskExecutePool.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.thread; import lombok.extern.slf4j.Slf4j; diff --git a/src/main/java/io/linfeng/common/thread/AsyncTaskProperties.java b/src/main/java/io/linfeng/common/thread/AsyncTaskProperties.java index 83e499e..1f978c2 100644 --- a/src/main/java/io/linfeng/common/thread/AsyncTaskProperties.java +++ b/src/main/java/io/linfeng/common/thread/AsyncTaskProperties.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.common.thread; import lombok.Data; diff --git a/src/main/java/io/linfeng/config/CorsConfig.java b/src/main/java/io/linfeng/config/CorsConfig.java index 4ccedc5..2987c70 100644 --- a/src/main/java/io/linfeng/config/CorsConfig.java +++ b/src/main/java/io/linfeng/config/CorsConfig.java @@ -1,4 +1,15 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import org.springframework.context.annotation.Configuration; diff --git a/src/main/java/io/linfeng/config/FilterConfig.java b/src/main/java/io/linfeng/config/FilterConfig.java index 3b561a5..ee795a8 100644 --- a/src/main/java/io/linfeng/config/FilterConfig.java +++ b/src/main/java/io/linfeng/config/FilterConfig.java @@ -1,4 +1,15 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import io.linfeng.common.xss.XssFilter; diff --git a/src/main/java/io/linfeng/config/KaptchaConfig.java b/src/main/java/io/linfeng/config/KaptchaConfig.java index f3c4d52..c0b896d 100644 --- a/src/main/java/io/linfeng/config/KaptchaConfig.java +++ b/src/main/java/io/linfeng/config/KaptchaConfig.java @@ -1,4 +1,15 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import com.google.code.kaptcha.impl.DefaultKaptcha; diff --git a/src/main/java/io/linfeng/config/MybatisPlusConfig.java b/src/main/java/io/linfeng/config/MybatisPlusConfig.java index 7e13416..672e3c4 100644 --- a/src/main/java/io/linfeng/config/MybatisPlusConfig.java +++ b/src/main/java/io/linfeng/config/MybatisPlusConfig.java @@ -1,4 +1,15 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; diff --git a/src/main/java/io/linfeng/config/RedisConfig.java b/src/main/java/io/linfeng/config/RedisConfig.java index 1f58754..47ce7f8 100644 --- a/src/main/java/io/linfeng/config/RedisConfig.java +++ b/src/main/java/io/linfeng/config/RedisConfig.java @@ -1,4 +1,15 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/io/linfeng/config/ShiroConfig.java b/src/main/java/io/linfeng/config/ShiroConfig.java index ce92515..9bd60b2 100644 --- a/src/main/java/io/linfeng/config/ShiroConfig.java +++ b/src/main/java/io/linfeng/config/ShiroConfig.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import io.linfeng.modules.sys.oauth2.OAuth2Filter; diff --git a/src/main/java/io/linfeng/config/SwaggerConfig.java b/src/main/java/io/linfeng/config/SwaggerConfig.java index d67e5f1..75a168e 100644 --- a/src/main/java/io/linfeng/config/SwaggerConfig.java +++ b/src/main/java/io/linfeng/config/SwaggerConfig.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.config; import org.springframework.context.annotation.Bean; @@ -27,7 +37,6 @@ public class SwaggerConfig implements WebMvcConfigurer { .apiInfo(apiInfo()) .select() .apis(RequestHandlerSelectors.basePackage("io.linfeng")) -// .apis(RequestHandlerSelectors.withMethodAnnotation(ApiOperation.class)) .paths(PathSelectors.any()) .build() .securityContexts(securityContexts()) @@ -37,7 +46,7 @@ public class SwaggerConfig implements WebMvcConfigurer { private ApiInfo apiInfo(){ return new ApiInfoBuilder() .title("林风社交论坛项目接口文档") - .description("林风社交论坛项目接口文档") + .description("林风社交论坛项目开源版接口文档 演示地址 https://www.linfeng.tech") .contact(new Contact("linfeng","http:localhost:8080/doc.html","3582996245@qq.com")) .version("1.0") .build(); diff --git a/src/main/java/io/linfeng/datasource/annotation/DataSource.java b/src/main/java/io/linfeng/datasource/annotation/DataSource.java index f9d54b1..e2c41e5 100644 --- a/src/main/java/io/linfeng/datasource/annotation/DataSource.java +++ b/src/main/java/io/linfeng/datasource/annotation/DataSource.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.annotation; diff --git a/src/main/java/io/linfeng/datasource/aspect/DataSourceAspect.java b/src/main/java/io/linfeng/datasource/aspect/DataSourceAspect.java index 4775721..b376346 100644 --- a/src/main/java/io/linfeng/datasource/aspect/DataSourceAspect.java +++ b/src/main/java/io/linfeng/datasource/aspect/DataSourceAspect.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.aspect; diff --git a/src/main/java/io/linfeng/datasource/config/DynamicContextHolder.java b/src/main/java/io/linfeng/datasource/config/DynamicContextHolder.java index f8f09b2..ba1f012 100644 --- a/src/main/java/io/linfeng/datasource/config/DynamicContextHolder.java +++ b/src/main/java/io/linfeng/datasource/config/DynamicContextHolder.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.config; diff --git a/src/main/java/io/linfeng/datasource/config/DynamicDataSource.java b/src/main/java/io/linfeng/datasource/config/DynamicDataSource.java index b7c0974..5ef9dd6 100644 --- a/src/main/java/io/linfeng/datasource/config/DynamicDataSource.java +++ b/src/main/java/io/linfeng/datasource/config/DynamicDataSource.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.config; diff --git a/src/main/java/io/linfeng/datasource/config/DynamicDataSourceConfig.java b/src/main/java/io/linfeng/datasource/config/DynamicDataSourceConfig.java index 35d317f..12f3951 100644 --- a/src/main/java/io/linfeng/datasource/config/DynamicDataSourceConfig.java +++ b/src/main/java/io/linfeng/datasource/config/DynamicDataSourceConfig.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.config; diff --git a/src/main/java/io/linfeng/datasource/config/DynamicDataSourceFactory.java b/src/main/java/io/linfeng/datasource/config/DynamicDataSourceFactory.java index 6bd4b07..29d96a9 100644 --- a/src/main/java/io/linfeng/datasource/config/DynamicDataSourceFactory.java +++ b/src/main/java/io/linfeng/datasource/config/DynamicDataSourceFactory.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.config; diff --git a/src/main/java/io/linfeng/datasource/properties/DataSourceProperties.java b/src/main/java/io/linfeng/datasource/properties/DataSourceProperties.java index 14c47bb..a9966f2 100644 --- a/src/main/java/io/linfeng/datasource/properties/DataSourceProperties.java +++ b/src/main/java/io/linfeng/datasource/properties/DataSourceProperties.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.properties; diff --git a/src/main/java/io/linfeng/datasource/properties/DynamicDataSourceProperties.java b/src/main/java/io/linfeng/datasource/properties/DynamicDataSourceProperties.java index 9b17fd8..624cee3 100644 --- a/src/main/java/io/linfeng/datasource/properties/DynamicDataSourceProperties.java +++ b/src/main/java/io/linfeng/datasource/properties/DynamicDataSourceProperties.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.datasource.properties; diff --git a/src/main/java/io/linfeng/modules/admin/controller/AppUserController.java b/src/main/java/io/linfeng/modules/admin/controller/AppUserController.java index 1ee41a8..7bf794f 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/AppUserController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/AppUserController.java @@ -1,4 +1,14 @@ -package io.linfeng.modules.admin.controller; +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */package io.linfeng.modules.admin.controller; import java.util.Arrays; import java.util.Map; diff --git a/src/main/java/io/linfeng/modules/admin/controller/CategoryController.java b/src/main/java/io/linfeng/modules/admin/controller/CategoryController.java index 9944a05..1235fbe 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/CategoryController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/CategoryController.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/CommentController.java b/src/main/java/io/linfeng/modules/admin/controller/CommentController.java index d64d285..18ae123 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/CommentController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/CommentController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/DiscussController.java b/src/main/java/io/linfeng/modules/admin/controller/DiscussController.java index 01afe4b..f5c4028 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/DiscussController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/DiscussController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/LinkController.java b/src/main/java/io/linfeng/modules/admin/controller/LinkController.java index 11f99e8..da3328a 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/LinkController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/LinkController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/MessageController.java b/src/main/java/io/linfeng/modules/admin/controller/MessageController.java index 86feb1c..e0e525c 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/MessageController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/MessageController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/PostController.java b/src/main/java/io/linfeng/modules/admin/controller/PostController.java index 11f5026..979b06a 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/PostController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/PostController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/SensitiveController.java b/src/main/java/io/linfeng/modules/admin/controller/SensitiveController.java index 7ecb577..e862358 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/SensitiveController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/SensitiveController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/StatisticController.java b/src/main/java/io/linfeng/modules/admin/controller/StatisticController.java index 4330e01..54a0290 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/StatisticController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/StatisticController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import io.linfeng.common.utils.R; diff --git a/src/main/java/io/linfeng/modules/admin/controller/SystemController.java b/src/main/java/io/linfeng/modules/admin/controller/SystemController.java index fb9b9e4..e6456bb 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/SystemController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/SystemController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/controller/TopicController.java b/src/main/java/io/linfeng/modules/admin/controller/TopicController.java index b83d8c4..9dc2757 100644 --- a/src/main/java/io/linfeng/modules/admin/controller/TopicController.java +++ b/src/main/java/io/linfeng/modules/admin/controller/TopicController.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.controller; import java.util.Arrays; diff --git a/src/main/java/io/linfeng/modules/admin/dao/AppUserDao.java b/src/main/java/io/linfeng/modules/admin/dao/AppUserDao.java index e2ff345..6b54ef9 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/AppUserDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/AppUserDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.AppUserEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/CategoryDao.java b/src/main/java/io/linfeng/modules/admin/dao/CategoryDao.java index 11bba14..ec31080 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/CategoryDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/CategoryDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.CategoryEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/CommentDao.java b/src/main/java/io/linfeng/modules/admin/dao/CommentDao.java index fa35464..a231ff2 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/CommentDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/CommentDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.CommentEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/DiscussDao.java b/src/main/java/io/linfeng/modules/admin/dao/DiscussDao.java index 1d91de4..b443112 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/DiscussDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/DiscussDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.DiscussEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/LinkDao.java b/src/main/java/io/linfeng/modules/admin/dao/LinkDao.java index bb47b81..719d197 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/LinkDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/LinkDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.LinkEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/MessageDao.java b/src/main/java/io/linfeng/modules/admin/dao/MessageDao.java index bbc944b..37c925e 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/MessageDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/MessageDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.MessageEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/PostDao.java b/src/main/java/io/linfeng/modules/admin/dao/PostDao.java index 8eb86dd..c755e44 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/PostDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/PostDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.PostEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/SensitiveDao.java b/src/main/java/io/linfeng/modules/admin/dao/SensitiveDao.java index 28c5125..b141705 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/SensitiveDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/SensitiveDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.SensitiveEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/SystemDao.java b/src/main/java/io/linfeng/modules/admin/dao/SystemDao.java index 88abfa1..23f6454 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/SystemDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/SystemDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.SystemEntity; diff --git a/src/main/java/io/linfeng/modules/admin/dao/TopicDao.java b/src/main/java/io/linfeng/modules/admin/dao/TopicDao.java index 6df0f51..323d064 100644 --- a/src/main/java/io/linfeng/modules/admin/dao/TopicDao.java +++ b/src/main/java/io/linfeng/modules/admin/dao/TopicDao.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.dao; import io.linfeng.modules.admin.entity.TopicEntity; diff --git a/src/main/java/io/linfeng/modules/admin/entity/AppUserEntity.java b/src/main/java/io/linfeng/modules/admin/entity/AppUserEntity.java index de29828..6b17126 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/AppUserEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/AppUserEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.IdType; diff --git a/src/main/java/io/linfeng/modules/admin/entity/CategoryEntity.java b/src/main/java/io/linfeng/modules/admin/entity/CategoryEntity.java index 5ca1871..fa17c92 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/CategoryEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/CategoryEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/CommentEntity.java b/src/main/java/io/linfeng/modules/admin/entity/CommentEntity.java index 7b3bc41..f9fd07a 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/CommentEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/CommentEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/DiscussEntity.java b/src/main/java/io/linfeng/modules/admin/entity/DiscussEntity.java index d9b6823..10fcc94 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/DiscussEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/DiscussEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/LinkEntity.java b/src/main/java/io/linfeng/modules/admin/entity/LinkEntity.java index 83fdef5..2cff55f 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/LinkEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/LinkEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/MessageEntity.java b/src/main/java/io/linfeng/modules/admin/entity/MessageEntity.java index 903cee4..c903e27 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/MessageEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/MessageEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/PostEntity.java b/src/main/java/io/linfeng/modules/admin/entity/PostEntity.java index 4bcfc4c..6c9847c 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/PostEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/PostEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.IdType; diff --git a/src/main/java/io/linfeng/modules/admin/entity/SensitiveEntity.java b/src/main/java/io/linfeng/modules/admin/entity/SensitiveEntity.java index f02583d..4cb6df2 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/SensitiveEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/SensitiveEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/SystemEntity.java b/src/main/java/io/linfeng/modules/admin/entity/SystemEntity.java index 32eba04..84e0dc1 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/SystemEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/SystemEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/admin/entity/TopicEntity.java b/src/main/java/io/linfeng/modules/admin/entity/TopicEntity.java index e9bef6c..d20c70b 100644 --- a/src/main/java/io/linfeng/modules/admin/entity/TopicEntity.java +++ b/src/main/java/io/linfeng/modules/admin/entity/TopicEntity.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.entity; import com.baomidou.mybatisplus.annotation.IdType; diff --git a/src/main/java/io/linfeng/modules/admin/service/AppUserService.java b/src/main/java/io/linfeng/modules/admin/service/AppUserService.java index 6785258..069148d 100644 --- a/src/main/java/io/linfeng/modules/admin/service/AppUserService.java +++ b/src/main/java/io/linfeng/modules/admin/service/AppUserService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/admin/service/CategoryService.java b/src/main/java/io/linfeng/modules/admin/service/CategoryService.java index faf0420..8c5fbd8 100644 --- a/src/main/java/io/linfeng/modules/admin/service/CategoryService.java +++ b/src/main/java/io/linfeng/modules/admin/service/CategoryService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/admin/service/CommentService.java b/src/main/java/io/linfeng/modules/admin/service/CommentService.java index ce206e3..33f9a8c 100644 --- a/src/main/java/io/linfeng/modules/admin/service/CommentService.java +++ b/src/main/java/io/linfeng/modules/admin/service/CommentService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/admin/service/DiscussService.java b/src/main/java/io/linfeng/modules/admin/service/DiscussService.java index b34b71d..1991846 100644 --- a/src/main/java/io/linfeng/modules/admin/service/DiscussService.java +++ b/src/main/java/io/linfeng/modules/admin/service/DiscussService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; @@ -24,7 +36,6 @@ public interface DiscussService extends IService { PageUtils queryPage(Map params); - List getListByTopicId(Integer topicId); } diff --git a/src/main/java/io/linfeng/modules/admin/service/LinkService.java b/src/main/java/io/linfeng/modules/admin/service/LinkService.java index 0859a44..ace1d57 100644 --- a/src/main/java/io/linfeng/modules/admin/service/LinkService.java +++ b/src/main/java/io/linfeng/modules/admin/service/LinkService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/admin/service/MessageService.java b/src/main/java/io/linfeng/modules/admin/service/MessageService.java index a539999..7ec6f36 100644 --- a/src/main/java/io/linfeng/modules/admin/service/MessageService.java +++ b/src/main/java/io/linfeng/modules/admin/service/MessageService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; @@ -24,13 +36,6 @@ public interface MessageService extends IService { PageUtils queryPage(Map params); - @Async - void sendMessage(Integer fromUid,Integer toUid,Integer postId,Integer type,String content,String title); - void sendMessageNotAsync(Integer fromUid,Integer toUid,Integer postId,Integer type,String content,String title); - - Boolean status(Integer type, Integer uid); - - void deleteMessageByMonth(Integer integer); } diff --git a/src/main/java/io/linfeng/modules/admin/service/PostService.java b/src/main/java/io/linfeng/modules/admin/service/PostService.java index bcbb05a..efba1b8 100644 --- a/src/main/java/io/linfeng/modules/admin/service/PostService.java +++ b/src/main/java/io/linfeng/modules/admin/service/PostService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/admin/service/SensitiveService.java b/src/main/java/io/linfeng/modules/admin/service/SensitiveService.java index 93e7252..970278f 100644 --- a/src/main/java/io/linfeng/modules/admin/service/SensitiveService.java +++ b/src/main/java/io/linfeng/modules/admin/service/SensitiveService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; @@ -16,9 +28,5 @@ import java.util.Map; public interface SensitiveService extends IService { PageUtils queryPage(Map params); - - Boolean checkContent(String content); - - void checkPostContent(String content); } diff --git a/src/main/java/io/linfeng/modules/admin/service/SystemService.java b/src/main/java/io/linfeng/modules/admin/service/SystemService.java index 410653c..0339ad6 100644 --- a/src/main/java/io/linfeng/modules/admin/service/SystemService.java +++ b/src/main/java/io/linfeng/modules/admin/service/SystemService.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/admin/service/TopicService.java b/src/main/java/io/linfeng/modules/admin/service/TopicService.java index 003034d..b569dd2 100644 --- a/src/main/java/io/linfeng/modules/admin/service/TopicService.java +++ b/src/main/java/io/linfeng/modules/admin/service/TopicService.java @@ -1,16 +1,21 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service; import com.baomidou.mybatisplus.extension.service.IService; -import io.linfeng.common.response.TopicDetailResponse; -import io.linfeng.common.utils.AppPageUtils; import io.linfeng.common.utils.PageUtils; -import io.linfeng.modules.admin.entity.AppUserEntity; import io.linfeng.modules.admin.entity.TopicEntity; -import io.linfeng.modules.app.form.TopicAddForm; -import io.linfeng.modules.app.form.TopicUpdateForm; -import io.linfeng.modules.app.form.UserJoinTopicForm; -import java.util.List; import java.util.Map; /** @@ -24,7 +29,6 @@ public interface TopicService extends IService { PageUtils queryPage(Map params); - AppPageUtils queryByPage(Map params); } diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java index 877face..7f5203d 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/AppUserServiceImpl.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; import cn.hutool.core.util.ObjectUtil; diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/CategoryServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/CategoryServiceImpl.java index 74ac640..a772801 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/CategoryServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/CategoryServiceImpl.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; import io.linfeng.common.exception.LinfengException; diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/CommentServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/CommentServiceImpl.java index 46fa625..6ccea34 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/CommentServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/CommentServiceImpl.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/DiscussServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/DiscussServiceImpl.java index 73c9f18..51d970d 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/DiscussServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/DiscussServiceImpl.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; @@ -31,14 +43,6 @@ public class DiscussServiceImpl extends ServiceImpl i return new PageUtils(page); } - @Override - public List getListByTopicId(Integer topicId) { - QueryWrapper wrapper = new QueryWrapper<>(); - wrapper.lambda().eq(DiscussEntity::getTopicId, topicId); - Page pageModel = new Page<>(1, 5); - IPage pageList = this.baseMapper.selectPage(pageModel, wrapper); - return pageList.getRecords(); - } diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/LinkServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/LinkServiceImpl.java index c8c570a..2f19f42 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/LinkServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/LinkServiceImpl.java @@ -1,8 +1,17 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import io.linfeng.common.utils.AppPageUtils; -import io.linfeng.modules.app.form.LinkListForm; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/MessageServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/MessageServiceImpl.java index 6e058be..52a8c84 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/MessageServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/MessageServiceImpl.java @@ -1,15 +1,20 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; -import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import io.linfeng.common.utils.*; import org.springframework.stereotype.Service; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; import java.util.Map; - import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; @@ -17,7 +22,6 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import io.linfeng.modules.admin.dao.MessageDao; import io.linfeng.modules.admin.entity.MessageEntity; import io.linfeng.modules.admin.service.MessageService; -import org.springframework.transaction.annotation.Transactional; @Service("messageService") @@ -34,85 +38,6 @@ public class MessageServiceImpl extends ServiceImpl i return new PageUtils(page); } - /** - * 消息异步发送 - * @param fromUid 发送者uid - * @param toUid 接收者uid - * @param postId 帖子id - * @param type 1为点赞,2为评论 3为收藏 4为关注 5为推送文章 6私聊 - * @param content 发送内容 - * @param title 发送标题 - */ - public void sendMessage(Integer fromUid,Integer toUid,Integer postId,Integer type,String content,String title){ - if(fromUid.equals(toUid)){ - return; - } - MessageEntity message=new MessageEntity(); - message.setContent(content); - message.setPostId(postId); - message.setFromUid(fromUid); - message.setTitle(title); - message.setCreateTime(DateUtil.nowDateTime()); - message.setToUid(toUid); - message.setType(type); - this.save(message); - } - /** - * 消息同步发送 用于用户消息私聊 - * @param fromUid 发送者uid - * @param toUid 接收者uid - * @param postId 帖子id - * @param type 1为点赞,2为评论 3为收藏 4为关注 5为推送文章 6私聊 - * @param content 发送内容 - * @param title 发送标题 - */ - @Transactional(rollbackFor = Exception.class) - public void sendMessageNotAsync(Integer fromUid,Integer toUid,Integer postId,Integer type,String content,String title){ - if(fromUid.equals(toUid)){ - return; - } - MessageEntity message=new MessageEntity(); - message.setContent(content); - message.setPostId(postId); - message.setFromUid(fromUid); - message.setTitle(title); - message.setCreateTime(DateUtil.nowDateTime()); - message.setToUid(toUid); - message.setType(type); - this.save(message); - } - - @Override - public Boolean status(Integer type, Integer uid) { - - UpdateWrapper updateWrapper = new UpdateWrapper<>(); - updateWrapper.set("status",1); - updateWrapper.eq("to_uid",uid); - if(type==1){ - updateWrapper.and(wrapper->wrapper.eq("type",Constant.STAR).or().eq("type",Constant.COLLECT)); - }else if(type==2){ - updateWrapper.eq("type",Constant.WATCH); - }else if(type==3){ - updateWrapper.eq("type",Constant.COMMENT); - }else if(type==5){ - updateWrapper.eq("type",Constant.PUSHARTICLE); - }else if(type==6){ - updateWrapper.eq("type",Constant.CHAT); - } - return update(updateWrapper); - } - - /** - * 清除几个月前的消息数据 - * @param month - */ - @Override - public void deleteMessageByMonth(Integer month) { - String s = DateUtils.addDateMonths(new Date(),-month); - LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.le(MessageEntity::getCreateTime,s); - this.remove(wrapper); - } } \ No newline at end of file diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/PostServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/PostServiceImpl.java index ba228b5..04c0d76 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/PostServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/PostServiceImpl.java @@ -1,3 +1,15 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; import cn.hutool.core.util.ObjectUtil; @@ -45,8 +57,6 @@ public class PostServiceImpl extends ServiceImpl implements @Autowired private AppUserService appUserService; @Autowired - private TopicService topicService; - @Autowired private PostCollectionService postCollectionService; @Autowired private CommentService commentService; @@ -108,12 +118,7 @@ public class PostServiceImpl extends ServiceImpl implements @Override @Transactional public void deleteByAdmin(List ids) { - //通知用户消息违规被删除了 - ids.forEach(postId -> { - PostEntity post = this.getById(postId); - String content = StrUtil.format(Constant.ADMIN_POST_DOWN, post.getTitle()); - messageService.sendMessage(0, post.getUid(), postId, Constant.PUSHARTICLE, content, Constant.TITLE_VIOLATION); - }); + boolean remove = this.removeByIds(ids); if (!remove) { throw new LinfengException("批量删除失败"); diff --git a/src/main/java/io/linfeng/modules/admin/service/impl/SensitiveServiceImpl.java b/src/main/java/io/linfeng/modules/admin/service/impl/SensitiveServiceImpl.java index eca498d..60a9e65 100644 --- a/src/main/java/io/linfeng/modules/admin/service/impl/SensitiveServiceImpl.java +++ b/src/main/java/io/linfeng/modules/admin/service/impl/SensitiveServiceImpl.java @@ -1,7 +1,17 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 + * QQ: 3582996245 + * 可正常分享和学习源码,不得专卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.admin.service.impl; -import io.linfeng.common.exception.LinfengException; -import io.linfeng.common.utils.Constant; import org.springframework.stereotype.Service; import java.util.Map; @@ -30,48 +40,6 @@ public class SensitiveServiceImpl extends ServiceImpl impleme } - @Override - public AppPageUtils queryByPage(Map params) { - Integer classId = Integer.valueOf((String) params.get(Constant.CLASSID)); - QueryWrapper queryWrapper = new QueryWrapper<>(); - queryWrapper.lambda().eq(TopicEntity::getCateId, classId); - - IPage page = this.page( - new Query().getPage(params), - queryWrapper - ); - return new AppPageUtils(page); - } } \ No newline at end of file diff --git a/src/main/java/io/linfeng/modules/app/annotation/Login.java b/src/main/java/io/linfeng/modules/app/annotation/Login.java index d3e393e..5cda2f7 100644 --- a/src/main/java/io/linfeng/modules/app/annotation/Login.java +++ b/src/main/java/io/linfeng/modules/app/annotation/Login.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.annotation; import java.lang.annotation.*; diff --git a/src/main/java/io/linfeng/modules/app/annotation/LoginUser.java b/src/main/java/io/linfeng/modules/app/annotation/LoginUser.java index c98d32f..04e18a1 100644 --- a/src/main/java/io/linfeng/modules/app/annotation/LoginUser.java +++ b/src/main/java/io/linfeng/modules/app/annotation/LoginUser.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.annotation; import java.lang.annotation.ElementType; diff --git a/src/main/java/io/linfeng/modules/app/config/WebMvcConfig.java b/src/main/java/io/linfeng/modules/app/config/WebMvcConfig.java index bd1b65d..0b33fe7 100644 --- a/src/main/java/io/linfeng/modules/app/config/WebMvcConfig.java +++ b/src/main/java/io/linfeng/modules/app/config/WebMvcConfig.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.config; import io.linfeng.modules.app.interceptor.AuthorizationInterceptor; diff --git a/src/main/java/io/linfeng/modules/app/controller/AppCommentController.java b/src/main/java/io/linfeng/modules/app/controller/AppCommentController.java index 994b7dd..9075c23 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppCommentController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppCommentController.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.controller; @@ -13,16 +24,20 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; /** + * * @author linfeng * @date 2022/7/27 15:35 + * */ @RestController @RequestMapping("app/comment") public class AppCommentController { + @Autowired private CommentService commentService; @Autowired private CommentThumbsService commentThumbsService; + /** * 评论列表 */ diff --git a/src/main/java/io/linfeng/modules/app/controller/AppLoginController.java b/src/main/java/io/linfeng/modules/app/controller/AppLoginController.java index 86c06a2..fab19b3 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppLoginController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppLoginController.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.controller; import io.linfeng.common.response.AppUserInfoResponse; diff --git a/src/main/java/io/linfeng/modules/app/controller/AppOssController.java b/src/main/java/io/linfeng/modules/app/controller/AppOssController.java index 99dbf03..c3e4c3e 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppOssController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppOssController.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.controller; import io.linfeng.common.exception.LinfengException; diff --git a/src/main/java/io/linfeng/modules/app/controller/AppPostController.java b/src/main/java/io/linfeng/modules/app/controller/AppPostController.java index 0101209..9264320 100644 --- a/src/main/java/io/linfeng/modules/app/controller/AppPostController.java +++ b/src/main/java/io/linfeng/modules/app/controller/AppPostController.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.controller; import cn.hutool.core.util.ObjectUtil; diff --git a/src/main/java/io/linfeng/modules/app/controller/AppSystemController.java b/src/main/java/io/linfeng/modules/app/controller/AppSystemController.java new file mode 100644 index 0000000..6fe6d7e --- /dev/null +++ b/src/main/java/io/linfeng/modules/app/controller/AppSystemController.java @@ -0,0 +1,35 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ +package io.linfeng.modules.app.controller; + +import io.linfeng.common.utils.R; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * @author linfeng + * @date 2022/8/17 12:07 + */ + +@RestController +@RequestMapping("app/system") +public class AppSystemController { + + + @GetMapping("/miniConfig") + public R miniConfig(){ + String value=""; + return R.ok().put("intro",value); + } + +} diff --git a/src/main/java/io/linfeng/modules/app/dao/CommentThumbsDao.java b/src/main/java/io/linfeng/modules/app/dao/CommentThumbsDao.java index 3763e4f..7f2852e 100644 --- a/src/main/java/io/linfeng/modules/app/dao/CommentThumbsDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/CommentThumbsDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.CommentThumbsEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/FollowDao.java b/src/main/java/io/linfeng/modules/app/dao/FollowDao.java index 9ec207e..601f843 100644 --- a/src/main/java/io/linfeng/modules/app/dao/FollowDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/FollowDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.FollowEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/MomentDao.java b/src/main/java/io/linfeng/modules/app/dao/MomentDao.java index 0a1d96f..1c481a2 100644 --- a/src/main/java/io/linfeng/modules/app/dao/MomentDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/MomentDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.MomentEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/PostCollectionDao.java b/src/main/java/io/linfeng/modules/app/dao/PostCollectionDao.java index 64828f0..932e9c9 100644 --- a/src/main/java/io/linfeng/modules/app/dao/PostCollectionDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/PostCollectionDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.PostCollectionEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/PostFabulousDao.java b/src/main/java/io/linfeng/modules/app/dao/PostFabulousDao.java index b4eb55a..affd3ee 100644 --- a/src/main/java/io/linfeng/modules/app/dao/PostFabulousDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/PostFabulousDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.PostFabulousEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/TopicAdminDao.java b/src/main/java/io/linfeng/modules/app/dao/TopicAdminDao.java index 3ce7268..5aaa83e 100644 --- a/src/main/java/io/linfeng/modules/app/dao/TopicAdminDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/TopicAdminDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.TopicAdminEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/TopicTopDao.java b/src/main/java/io/linfeng/modules/app/dao/TopicTopDao.java index 022b2d8..49846df 100644 --- a/src/main/java/io/linfeng/modules/app/dao/TopicTopDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/TopicTopDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.TopicTopEntity; diff --git a/src/main/java/io/linfeng/modules/app/dao/UserDao.java b/src/main/java/io/linfeng/modules/app/dao/UserDao.java index 0b1da71..a7184d8 100644 --- a/src/main/java/io/linfeng/modules/app/dao/UserDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/UserDao.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; diff --git a/src/main/java/io/linfeng/modules/app/dao/UserTopicDao.java b/src/main/java/io/linfeng/modules/app/dao/UserTopicDao.java index be49705..ca607ab 100644 --- a/src/main/java/io/linfeng/modules/app/dao/UserTopicDao.java +++ b/src/main/java/io/linfeng/modules/app/dao/UserTopicDao.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得专卖或非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.dao; import io.linfeng.modules.app.entity.UserTopicEntity; diff --git a/src/main/java/io/linfeng/modules/app/entity/CommentThumbsEntity.java b/src/main/java/io/linfeng/modules/app/entity/CommentThumbsEntity.java index cc35659..659d59c 100644 --- a/src/main/java/io/linfeng/modules/app/entity/CommentThumbsEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/CommentThumbsEntity.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/FollowEntity.java b/src/main/java/io/linfeng/modules/app/entity/FollowEntity.java index fab278f..95dee78 100644 --- a/src/main/java/io/linfeng/modules/app/entity/FollowEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/FollowEntity.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/MomentEntity.java b/src/main/java/io/linfeng/modules/app/entity/MomentEntity.java index ddf479b..d07a48c 100644 --- a/src/main/java/io/linfeng/modules/app/entity/MomentEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/MomentEntity.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/PostCollectionEntity.java b/src/main/java/io/linfeng/modules/app/entity/PostCollectionEntity.java index 3c40214..5557210 100644 --- a/src/main/java/io/linfeng/modules/app/entity/PostCollectionEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/PostCollectionEntity.java @@ -1,10 +1,19 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; -import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; -import java.util.Date; import lombok.Data; /** diff --git a/src/main/java/io/linfeng/modules/app/entity/PostFabulousEntity.java b/src/main/java/io/linfeng/modules/app/entity/PostFabulousEntity.java index a8b7205..b4b9e07 100644 --- a/src/main/java/io/linfeng/modules/app/entity/PostFabulousEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/PostFabulousEntity.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/TopicAdminEntity.java b/src/main/java/io/linfeng/modules/app/entity/TopicAdminEntity.java index e0e3456..d2edd1b 100644 --- a/src/main/java/io/linfeng/modules/app/entity/TopicAdminEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/TopicAdminEntity.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/TopicTopEntity.java b/src/main/java/io/linfeng/modules/app/entity/TopicTopEntity.java index 49d09a0..e17cc21 100644 --- a/src/main/java/io/linfeng/modules/app/entity/TopicTopEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/TopicTopEntity.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/UserEntity.java b/src/main/java/io/linfeng/modules/app/entity/UserEntity.java index ca33047..d955506 100644 --- a/src/main/java/io/linfeng/modules/app/entity/UserEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/UserEntity.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/src/main/java/io/linfeng/modules/app/entity/UserTopicEntity.java b/src/main/java/io/linfeng/modules/app/entity/UserTopicEntity.java index 6229c63..70a412d 100644 --- a/src/main/java/io/linfeng/modules/app/entity/UserTopicEntity.java +++ b/src/main/java/io/linfeng/modules/app/entity/UserTopicEntity.java @@ -1,6 +1,16 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点: https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.entity; -import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; diff --git a/src/main/java/io/linfeng/modules/app/form/AddCollectionForm.java b/src/main/java/io/linfeng/modules/app/form/AddCollectionForm.java index 2e862b4..f4494a1 100644 --- a/src/main/java/io/linfeng/modules/app/form/AddCollectionForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AddCollectionForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/AddCommentForm.java b/src/main/java/io/linfeng/modules/app/form/AddCommentForm.java index 5154c6f..374ab1e 100644 --- a/src/main/java/io/linfeng/modules/app/form/AddCommentForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AddCommentForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/AddFollowForm.java b/src/main/java/io/linfeng/modules/app/form/AddFollowForm.java index ad6a11b..af9254d 100644 --- a/src/main/java/io/linfeng/modules/app/form/AddFollowForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AddFollowForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/AddPostDeleteForm.java b/src/main/java/io/linfeng/modules/app/form/AddPostDeleteForm.java index 658eaaa..a9cf504 100644 --- a/src/main/java/io/linfeng/modules/app/form/AddPostDeleteForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AddPostDeleteForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/AddPostForm.java b/src/main/java/io/linfeng/modules/app/form/AddPostForm.java index 4d8e652..5d6b3d6 100644 --- a/src/main/java/io/linfeng/modules/app/form/AddPostForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AddPostForm.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import lombok.Data; diff --git a/src/main/java/io/linfeng/modules/app/form/AddThumbsForm.java b/src/main/java/io/linfeng/modules/app/form/AddThumbsForm.java index 6384f35..f8a310a 100644 --- a/src/main/java/io/linfeng/modules/app/form/AddThumbsForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AddThumbsForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/AppUserInfoForm.java b/src/main/java/io/linfeng/modules/app/form/AppUserInfoForm.java index 642fa34..89b48ac 100644 --- a/src/main/java/io/linfeng/modules/app/form/AppUserInfoForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AppUserInfoForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/AppUserUpdateForm.java b/src/main/java/io/linfeng/modules/app/form/AppUserUpdateForm.java index 312d1a4..c155c5a 100644 --- a/src/main/java/io/linfeng/modules/app/form/AppUserUpdateForm.java +++ b/src/main/java/io/linfeng/modules/app/form/AppUserUpdateForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/ChatListForm.java b/src/main/java/io/linfeng/modules/app/form/ChatListForm.java index bb935e5..51ae1e3 100644 --- a/src/main/java/io/linfeng/modules/app/form/ChatListForm.java +++ b/src/main/java/io/linfeng/modules/app/form/ChatListForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/ChatSendForm.java b/src/main/java/io/linfeng/modules/app/form/ChatSendForm.java index 35e85bf..44f2227 100644 --- a/src/main/java/io/linfeng/modules/app/form/ChatSendForm.java +++ b/src/main/java/io/linfeng/modules/app/form/ChatSendForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/DelCommentForm.java b/src/main/java/io/linfeng/modules/app/form/DelCommentForm.java index 2a65b09..3239e22 100644 --- a/src/main/java/io/linfeng/modules/app/form/DelCommentForm.java +++ b/src/main/java/io/linfeng/modules/app/form/DelCommentForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/DiscussAddForm.java b/src/main/java/io/linfeng/modules/app/form/DiscussAddForm.java index 3dc59da..b6241b9 100644 --- a/src/main/java/io/linfeng/modules/app/form/DiscussAddForm.java +++ b/src/main/java/io/linfeng/modules/app/form/DiscussAddForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/DiscussDeleteForm.java b/src/main/java/io/linfeng/modules/app/form/DiscussDeleteForm.java index 30c3bc2..ab384ab 100644 --- a/src/main/java/io/linfeng/modules/app/form/DiscussDeleteForm.java +++ b/src/main/java/io/linfeng/modules/app/form/DiscussDeleteForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/DiscussListForm.java b/src/main/java/io/linfeng/modules/app/form/DiscussListForm.java index 55c58ff..6b25e92 100644 --- a/src/main/java/io/linfeng/modules/app/form/DiscussListForm.java +++ b/src/main/java/io/linfeng/modules/app/form/DiscussListForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/LinkListForm.java b/src/main/java/io/linfeng/modules/app/form/LinkListForm.java index 6d0fa5f..e4004c0 100644 --- a/src/main/java/io/linfeng/modules/app/form/LinkListForm.java +++ b/src/main/java/io/linfeng/modules/app/form/LinkListForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/LoginForm.java b/src/main/java/io/linfeng/modules/app/form/LoginForm.java index 5d044f0..3265806 100644 --- a/src/main/java/io/linfeng/modules/app/form/LoginForm.java +++ b/src/main/java/io/linfeng/modules/app/form/LoginForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/PostListForm.java b/src/main/java/io/linfeng/modules/app/form/PostListForm.java index 8fcaa06..16c75a6 100644 --- a/src/main/java/io/linfeng/modules/app/form/PostListForm.java +++ b/src/main/java/io/linfeng/modules/app/form/PostListForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/RegisterForm.java b/src/main/java/io/linfeng/modules/app/form/RegisterForm.java index 1e3f2a3..6ffd6aa 100644 --- a/src/main/java/io/linfeng/modules/app/form/RegisterForm.java +++ b/src/main/java/io/linfeng/modules/app/form/RegisterForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/SendCodeForm.java b/src/main/java/io/linfeng/modules/app/form/SendCodeForm.java index 032e6f5..f5de6f0 100644 --- a/src/main/java/io/linfeng/modules/app/form/SendCodeForm.java +++ b/src/main/java/io/linfeng/modules/app/form/SendCodeForm.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; /** diff --git a/src/main/java/io/linfeng/modules/app/form/SetAdminForm.java b/src/main/java/io/linfeng/modules/app/form/SetAdminForm.java index d0832c1..745c2c3 100644 --- a/src/main/java/io/linfeng/modules/app/form/SetAdminForm.java +++ b/src/main/java/io/linfeng/modules/app/form/SetAdminForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/SmsLoginForm.java b/src/main/java/io/linfeng/modules/app/form/SmsLoginForm.java index ab969b9..cab7ac6 100644 --- a/src/main/java/io/linfeng/modules/app/form/SmsLoginForm.java +++ b/src/main/java/io/linfeng/modules/app/form/SmsLoginForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/TopicAddForm.java b/src/main/java/io/linfeng/modules/app/form/TopicAddForm.java deleted file mode 100644 index f7f7a38..0000000 --- a/src/main/java/io/linfeng/modules/app/form/TopicAddForm.java +++ /dev/null @@ -1,43 +0,0 @@ -package io.linfeng.modules.app.form; - -import lombok.Data; -import org.hibernate.validator.constraints.Length; - -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; -import java.io.Serializable; - -@Data -public class TopicAddForm implements Serializable { - private static final long serialVersionUID = 1L; - - /** - * 分类id - */ - @NotNull(message="cateId不能为空") - private Integer cateId; - /** - * 圈子名称 - */ - @NotBlank(message="topicName不能为空") - @Length(max = 10, message = "名称不能超过10个字符") - private String topicName; - /** - * 描述 - */ - @NotBlank(message="description不能为空") - @Length(max = 30, message = "描述不能超过30个字符") - private String description; - /** - * 圈子头像 - */ - @NotBlank(message="coverImage不能为空") - private String coverImage; - /** - * 背景图 - */ - @NotBlank(message="bgImage不能为空") - private String bgImage; - - -} diff --git a/src/main/java/io/linfeng/modules/app/form/TopicUpdateForm.java b/src/main/java/io/linfeng/modules/app/form/TopicUpdateForm.java deleted file mode 100644 index e20a5ed..0000000 --- a/src/main/java/io/linfeng/modules/app/form/TopicUpdateForm.java +++ /dev/null @@ -1,36 +0,0 @@ -package io.linfeng.modules.app.form; - -import lombok.Data; -import org.hibernate.validator.constraints.Length; - -import javax.validation.constraints.NotBlank; -import javax.validation.constraints.NotNull; -import java.io.Serializable; - -@Data -public class TopicUpdateForm implements Serializable { - private static final long serialVersionUID = 1L; - - - private Integer id; - /** - * 圈子名称 - */ - @Length(max = 10, message = "名称不能超过10个字符") - private String topicName; - /** - * 描述 - */ - @Length(max = 30, message = "描述不能超过30个字符") - private String description; - /** - * 圈子头像 - */ - private String coverImage; - /** - * 背景图 - */ - private String bgImage; - - -} diff --git a/src/main/java/io/linfeng/modules/app/form/TopicUserForm.java b/src/main/java/io/linfeng/modules/app/form/TopicUserForm.java deleted file mode 100644 index c16fba7..0000000 --- a/src/main/java/io/linfeng/modules/app/form/TopicUserForm.java +++ /dev/null @@ -1,26 +0,0 @@ - -package io.linfeng.modules.app.form; - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import io.swagger.models.auth.In; -import lombok.Data; - -import javax.validation.constraints.NotBlank; - -/** - * 登录表单 - * - */ -@Data -@ApiModel(value = "圈子用户列表请求") -public class TopicUserForm { - @ApiModelProperty(value = "page",required = true) - @NotBlank(message="page不能为空") - private Integer page; - - @ApiModelProperty(value = "topicId",required = true) - @NotBlank(message="topicId不能为空") - private Integer id; - -} diff --git a/src/main/java/io/linfeng/modules/app/form/UpdateChatStatusForm.java b/src/main/java/io/linfeng/modules/app/form/UpdateChatStatusForm.java index d591c15..8893ef9 100644 --- a/src/main/java/io/linfeng/modules/app/form/UpdateChatStatusForm.java +++ b/src/main/java/io/linfeng/modules/app/form/UpdateChatStatusForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/UpdateSystemNoticeStatusForm.java b/src/main/java/io/linfeng/modules/app/form/UpdateSystemNoticeStatusForm.java index 1b19270..4b39e68 100644 --- a/src/main/java/io/linfeng/modules/app/form/UpdateSystemNoticeStatusForm.java +++ b/src/main/java/io/linfeng/modules/app/form/UpdateSystemNoticeStatusForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/form/UserJoinTopicForm.java b/src/main/java/io/linfeng/modules/app/form/UserJoinTopicForm.java deleted file mode 100644 index 70e8bbc..0000000 --- a/src/main/java/io/linfeng/modules/app/form/UserJoinTopicForm.java +++ /dev/null @@ -1,21 +0,0 @@ - -package io.linfeng.modules.app.form; - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -@ApiModel(value = "UserJoinTopicForm") -public class UserJoinTopicForm { - - @ApiModelProperty(value = "topicClassId") - private Integer classId; - - @ApiModelProperty(value = "page") - private Integer page; - - @ApiModelProperty(value = "uid") - private Integer uid; - -} diff --git a/src/main/java/io/linfeng/modules/app/form/WxLoginForm.java b/src/main/java/io/linfeng/modules/app/form/WxLoginForm.java index 599d5e2..bcf35be 100644 --- a/src/main/java/io/linfeng/modules/app/form/WxLoginForm.java +++ b/src/main/java/io/linfeng/modules/app/form/WxLoginForm.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.form; import io.swagger.annotations.ApiModel; diff --git a/src/main/java/io/linfeng/modules/app/interceptor/AuthorizationInterceptor.java b/src/main/java/io/linfeng/modules/app/interceptor/AuthorizationInterceptor.java index 4347057..e951b5b 100644 --- a/src/main/java/io/linfeng/modules/app/interceptor/AuthorizationInterceptor.java +++ b/src/main/java/io/linfeng/modules/app/interceptor/AuthorizationInterceptor.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.interceptor; diff --git a/src/main/java/io/linfeng/modules/app/resolver/LoginUserHandlerMethodArgumentResolver.java b/src/main/java/io/linfeng/modules/app/resolver/LoginUserHandlerMethodArgumentResolver.java index 009bd4b..a826803 100644 --- a/src/main/java/io/linfeng/modules/app/resolver/LoginUserHandlerMethodArgumentResolver.java +++ b/src/main/java/io/linfeng/modules/app/resolver/LoginUserHandlerMethodArgumentResolver.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.resolver; import io.linfeng.common.utils.RedisUtils; diff --git a/src/main/java/io/linfeng/modules/app/service/CommentThumbsService.java b/src/main/java/io/linfeng/modules/app/service/CommentThumbsService.java index d99beab..dffd87e 100644 --- a/src/main/java/io/linfeng/modules/app/service/CommentThumbsService.java +++ b/src/main/java/io/linfeng/modules/app/service/CommentThumbsService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/FollowService.java b/src/main/java/io/linfeng/modules/app/service/FollowService.java index 9fc2d19..a1a2712 100644 --- a/src/main/java/io/linfeng/modules/app/service/FollowService.java +++ b/src/main/java/io/linfeng/modules/app/service/FollowService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/MomentService.java b/src/main/java/io/linfeng/modules/app/service/MomentService.java index 792da99..cfc2ce3 100644 --- a/src/main/java/io/linfeng/modules/app/service/MomentService.java +++ b/src/main/java/io/linfeng/modules/app/service/MomentService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/PostCollectionService.java b/src/main/java/io/linfeng/modules/app/service/PostCollectionService.java index 4a5256f..679089e 100644 --- a/src/main/java/io/linfeng/modules/app/service/PostCollectionService.java +++ b/src/main/java/io/linfeng/modules/app/service/PostCollectionService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/PostFabulousService.java b/src/main/java/io/linfeng/modules/app/service/PostFabulousService.java index 5f2904b..95209f6 100644 --- a/src/main/java/io/linfeng/modules/app/service/PostFabulousService.java +++ b/src/main/java/io/linfeng/modules/app/service/PostFabulousService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/TopicAdminService.java b/src/main/java/io/linfeng/modules/app/service/TopicAdminService.java index 948455c..31d5ffe 100644 --- a/src/main/java/io/linfeng/modules/app/service/TopicAdminService.java +++ b/src/main/java/io/linfeng/modules/app/service/TopicAdminService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/TopicTopService.java b/src/main/java/io/linfeng/modules/app/service/TopicTopService.java index 2bf0161..e100120 100644 --- a/src/main/java/io/linfeng/modules/app/service/TopicTopService.java +++ b/src/main/java/io/linfeng/modules/app/service/TopicTopService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/UserTopicService.java b/src/main/java/io/linfeng/modules/app/service/UserTopicService.java index f642214..579a471 100644 --- a/src/main/java/io/linfeng/modules/app/service/UserTopicService.java +++ b/src/main/java/io/linfeng/modules/app/service/UserTopicService.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/CommentThumbsServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/CommentThumbsServiceImpl.java index 20d4a33..ec0e23e 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/CommentThumbsServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/CommentThumbsServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import cn.hutool.core.util.ObjectUtil; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/FollowServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/FollowServiceImpl.java index 8d88390..ad78cb2 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/FollowServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/FollowServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/MomentServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/MomentServiceImpl.java index 6c94171..2919e59 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/MomentServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/MomentServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import org.springframework.stereotype.Service; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/PostCollectionServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/PostCollectionServiceImpl.java index e4c0d8c..058e140 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/PostCollectionServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/PostCollectionServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/PostFabulousServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/PostFabulousServiceImpl.java index 7f3e03b..4c71ceb 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/PostFabulousServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/PostFabulousServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/TopicAdminServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/TopicAdminServiceImpl.java index 42967d1..e486c33 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/TopicAdminServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/TopicAdminServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/TopicTopServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/TopicTopServiceImpl.java index e84d263..a7e84f2 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/TopicTopServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/TopicTopServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/src/main/java/io/linfeng/modules/app/service/impl/UserTopicServiceImpl.java b/src/main/java/io/linfeng/modules/app/service/impl/UserTopicServiceImpl.java index c3eedba..3b419a1 100644 --- a/src/main/java/io/linfeng/modules/app/service/impl/UserTopicServiceImpl.java +++ b/src/main/java/io/linfeng/modules/app/service/impl/UserTopicServiceImpl.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.service.impl; import org.springframework.stereotype.Service; diff --git a/src/main/java/io/linfeng/modules/app/utils/JwtUtils.java b/src/main/java/io/linfeng/modules/app/utils/JwtUtils.java index 5d9cc57..1d807cd 100644 --- a/src/main/java/io/linfeng/modules/app/utils/JwtUtils.java +++ b/src/main/java/io/linfeng/modules/app/utils/JwtUtils.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 演示站点:https://www.linfeng.tech + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.utils; import io.jsonwebtoken.Claims; diff --git a/src/main/java/io/linfeng/modules/app/utils/LocalUser.java b/src/main/java/io/linfeng/modules/app/utils/LocalUser.java index 84710b4..1211d58 100644 --- a/src/main/java/io/linfeng/modules/app/utils/LocalUser.java +++ b/src/main/java/io/linfeng/modules/app/utils/LocalUser.java @@ -1,3 +1,14 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 可正常分享和学习源码,不得用于非法牟利! + * 商业版购买联系技术客服 QQ: 3582996245 + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 演示站点:https://www.linfeng.tech + * 版权所有,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.app.utils; import io.jsonwebtoken.Claims; diff --git a/src/main/java/io/linfeng/modules/job/config/ScheduleConfig.java b/src/main/java/io/linfeng/modules/job/config/ScheduleConfig.java index 5aa7bdc..fbfa719 100644 --- a/src/main/java/io/linfeng/modules/job/config/ScheduleConfig.java +++ b/src/main/java/io/linfeng/modules/job/config/ScheduleConfig.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.config; import org.springframework.context.annotation.Bean; diff --git a/src/main/java/io/linfeng/modules/job/controller/ScheduleJobController.java b/src/main/java/io/linfeng/modules/job/controller/ScheduleJobController.java index 7c768e3..a73d7c4 100644 --- a/src/main/java/io/linfeng/modules/job/controller/ScheduleJobController.java +++ b/src/main/java/io/linfeng/modules/job/controller/ScheduleJobController.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.controller; import io.linfeng.common.annotation.SysLog; diff --git a/src/main/java/io/linfeng/modules/job/controller/ScheduleJobLogController.java b/src/main/java/io/linfeng/modules/job/controller/ScheduleJobLogController.java index 5f64f65..9d55d3c 100644 --- a/src/main/java/io/linfeng/modules/job/controller/ScheduleJobLogController.java +++ b/src/main/java/io/linfeng/modules/job/controller/ScheduleJobLogController.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.controller; import io.linfeng.common.utils.PageUtils; diff --git a/src/main/java/io/linfeng/modules/job/dao/ScheduleJobDao.java b/src/main/java/io/linfeng/modules/job/dao/ScheduleJobDao.java index bb0afaf..382e9e8 100644 --- a/src/main/java/io/linfeng/modules/job/dao/ScheduleJobDao.java +++ b/src/main/java/io/linfeng/modules/job/dao/ScheduleJobDao.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; diff --git a/src/main/java/io/linfeng/modules/job/dao/ScheduleJobLogDao.java b/src/main/java/io/linfeng/modules/job/dao/ScheduleJobLogDao.java index 09c7cc1..43d8e50 100644 --- a/src/main/java/io/linfeng/modules/job/dao/ScheduleJobLogDao.java +++ b/src/main/java/io/linfeng/modules/job/dao/ScheduleJobLogDao.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; diff --git a/src/main/java/io/linfeng/modules/job/task/ITask.java b/src/main/java/io/linfeng/modules/job/task/ITask.java index fae6ae4..653f54c 100644 --- a/src/main/java/io/linfeng/modules/job/task/ITask.java +++ b/src/main/java/io/linfeng/modules/job/task/ITask.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.task; /** diff --git a/src/main/java/io/linfeng/modules/job/task/MessageTask.java b/src/main/java/io/linfeng/modules/job/task/MessageTask.java index 4b40c23..a08344e 100644 --- a/src/main/java/io/linfeng/modules/job/task/MessageTask.java +++ b/src/main/java/io/linfeng/modules/job/task/MessageTask.java @@ -1,11 +1,18 @@ +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.task; -import cn.hutool.core.util.NumberUtil; -import io.linfeng.modules.admin.service.MessageService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Component; /** @@ -21,17 +28,9 @@ public class MessageTask implements ITask { private Logger logger = LoggerFactory.getLogger(getClass()); - @Autowired - @Lazy - private MessageService messageService; - @Override public void run(String params){ logger.debug("messageTask定时任务正在执行,参数为:{}", params); - //必须是整数而且为正数,代表清除几个月前的数据 - if(NumberUtil.isInteger(params)&&Integer.valueOf(params)>0){ - messageService.deleteMessageByMonth(Integer.valueOf(params)); - } } } \ No newline at end of file diff --git a/src/main/java/io/linfeng/modules/job/task/TestTask.java b/src/main/java/io/linfeng/modules/job/task/TestTask.java index b10fbbb..562fcc6 100644 --- a/src/main/java/io/linfeng/modules/job/task/TestTask.java +++ b/src/main/java/io/linfeng/modules/job/task/TestTask.java @@ -1,16 +1,20 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; -/** - * 测试定时任务(演示Demo,可删除) - * - * testTask为spring bean的名称 - * - */ @Component("testTask") public class TestTask implements ITask { private Logger logger = LoggerFactory.getLogger(getClass()); diff --git a/src/main/java/io/linfeng/modules/job/utils/ScheduleJob.java b/src/main/java/io/linfeng/modules/job/utils/ScheduleJob.java index b40f446..a0e0d79 100644 --- a/src/main/java/io/linfeng/modules/job/utils/ScheduleJob.java +++ b/src/main/java/io/linfeng/modules/job/utils/ScheduleJob.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.utils; import io.linfeng.common.utils.SpringContextUtils; diff --git a/src/main/java/io/linfeng/modules/job/utils/ScheduleUtils.java b/src/main/java/io/linfeng/modules/job/utils/ScheduleUtils.java index dedde25..35582cb 100644 --- a/src/main/java/io/linfeng/modules/job/utils/ScheduleUtils.java +++ b/src/main/java/io/linfeng/modules/job/utils/ScheduleUtils.java @@ -1,4 +1,14 @@ - +/** + * ----------------------------------- + * 林风社交论坛开源版本请务必保留此注释头信息 + * 开源地址: https://gitee.com/virus010101/linfeng-community + * 商业版演示站点: https://www.linfeng.tech + * 商业版购买联系技术客服 QQ: 3582996245 + * 可正常分享和学习源码,不得转卖或非法牟利! + * Copyright (c) 2021-2023 linfeng all rights reserved. + * 版权所有 ,侵权必究! + * ----------------------------------- + */ package io.linfeng.modules.job.utils; import io.linfeng.common.exception.LinfengException; diff --git a/src/main/resources/static/linfeng-community-uniapp-ky/utils/config.js b/src/main/resources/static/linfeng-community-uniapp-ky/utils/config.js index 7e4a3e4..45d3b8e 100644 --- a/src/main/resources/static/linfeng-community-uniapp-ky/utils/config.js +++ b/src/main/resources/static/linfeng-community-uniapp-ky/utils/config.js @@ -3,12 +3,12 @@ const shareH5Url = "https://www.linfeng.tech/#/"; //H5分享路径 //本地环境配置 -const baseUrl = "localhost:8080"; -const domain = 'http://' + baseUrl + "/app/"; +// const baseUrl = "localhost:8080"; +// const domain = 'http://' + baseUrl + "/app/"; //线上环境配置 -// const baseUrl = "wxapi.linfeng.tech"; -// const domain = 'https://' + baseUrl + "/app/"; +const baseUrl = "wxapi.linfeng.tech"; +const domain = 'https://' + baseUrl + "/app/"; export default {