From d7ac534b38f4782c4010740e6409d843ed7698bb Mon Sep 17 00:00:00 2001 From: "zhangwei.c" Date: Fri, 14 Sep 2018 10:39:40 +0800 Subject: [PATCH] author --- .../java/com/boot/security/server/SecurityApplication.java | 2 +- .../boot/security/server/advice/ExceptionHandlerAdvice.java | 2 +- src/main/java/com/boot/security/server/advice/LogAdvice.java | 2 +- .../com/boot/security/server/annotation/LogAnnotation.java | 2 +- .../boot/security/server/config/AsycTaskExecutorConfig.java | 2 +- .../java/com/boot/security/server/config/DruidConfig.java | 4 ++-- .../java/com/boot/security/server/config/RedisConfig.java | 2 +- .../java/com/boot/security/server/config/SecurityConfig.java | 2 +- .../boot/security/server/config/SecurityHandlerConfig.java | 2 +- .../java/com/boot/security/server/config/SwaggerConfig.java | 2 +- .../boot/security/server/controller/GenerateController.java | 2 +- .../boot/security/server/controller/PermissionController.java | 2 +- .../com/boot/security/server/controller/RoleController.java | 2 +- .../com/boot/security/server/controller/UserController.java | 2 +- src/main/java/com/boot/security/server/dto/Token.java | 2 +- .../java/com/boot/security/server/filter/TokenFilter.java | 2 +- .../security/server/page/table/PageTableArgumentResolver.java | 2 +- .../com/boot/security/server/page/table/PageTableHandler.java | 2 +- .../com/boot/security/server/page/table/PageTableRequest.java | 2 +- .../boot/security/server/page/table/PageTableResponse.java | 2 +- .../java/com/boot/security/server/service/SysLogService.java | 2 +- .../java/com/boot/security/server/service/TokenService.java | 2 +- .../boot/security/server/service/impl/TokenServiceDbImpl.java | 2 +- .../boot/security/server/service/impl/TokenServiceImpl.java | 2 +- .../security/server/service/impl/TokenServiceJWTImpl.java | 2 +- .../security/server/service/impl/UserDetailsServiceImpl.java | 2 +- src/main/java/com/boot/security/server/utils/ExcelUtil.java | 2 +- src/main/java/com/boot/security/server/utils/FileUtil.java | 2 +- src/main/java/com/boot/security/server/utils/SpringUtil.java | 2 +- src/main/java/com/boot/security/server/utils/StrUtil.java | 2 +- 30 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/main/java/com/boot/security/server/SecurityApplication.java b/src/main/java/com/boot/security/server/SecurityApplication.java index 7b64572..864bc58 100644 --- a/src/main/java/com/boot/security/server/SecurityApplication.java +++ b/src/main/java/com/boot/security/server/SecurityApplication.java @@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; /** * 启动类 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @SpringBootApplication diff --git a/src/main/java/com/boot/security/server/advice/ExceptionHandlerAdvice.java b/src/main/java/com/boot/security/server/advice/ExceptionHandlerAdvice.java index f6ce2d6..6ea533a 100644 --- a/src/main/java/com/boot/security/server/advice/ExceptionHandlerAdvice.java +++ b/src/main/java/com/boot/security/server/advice/ExceptionHandlerAdvice.java @@ -17,7 +17,7 @@ import com.boot.security.server.dto.ResponseInfo; /** * springmvc异常处理 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @RestControllerAdvice diff --git a/src/main/java/com/boot/security/server/advice/LogAdvice.java b/src/main/java/com/boot/security/server/advice/LogAdvice.java index 70cfa0e..1305174 100644 --- a/src/main/java/com/boot/security/server/advice/LogAdvice.java +++ b/src/main/java/com/boot/security/server/advice/LogAdvice.java @@ -18,7 +18,7 @@ import io.swagger.annotations.ApiOperation; /** * 统一日志处理 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年8月19日 */ diff --git a/src/main/java/com/boot/security/server/annotation/LogAnnotation.java b/src/main/java/com/boot/security/server/annotation/LogAnnotation.java index d72ff18..a8a3831 100644 --- a/src/main/java/com/boot/security/server/annotation/LogAnnotation.java +++ b/src/main/java/com/boot/security/server/annotation/LogAnnotation.java @@ -8,7 +8,7 @@ import java.lang.annotation.Target; /** * 日志注解 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年8月19日 */ diff --git a/src/main/java/com/boot/security/server/config/AsycTaskExecutorConfig.java b/src/main/java/com/boot/security/server/config/AsycTaskExecutorConfig.java index 11c2fe9..66ee382 100644 --- a/src/main/java/com/boot/security/server/config/AsycTaskExecutorConfig.java +++ b/src/main/java/com/boot/security/server/config/AsycTaskExecutorConfig.java @@ -9,7 +9,7 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; /** * 线程池配置、启用异步 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年8月19日 */ diff --git a/src/main/java/com/boot/security/server/config/DruidConfig.java b/src/main/java/com/boot/security/server/config/DruidConfig.java index 1d61391..dbd6193 100644 --- a/src/main/java/com/boot/security/server/config/DruidConfig.java +++ b/src/main/java/com/boot/security/server/config/DruidConfig.java @@ -18,7 +18,7 @@ import java.sql.SQLException; * Druid数据源配置 * 2018.05.24改为配置的方式,配置前缀spring.datasource.druid,看下application.yml * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Deprecated @@ -56,7 +56,7 @@ public class DruidConfig { /** * 数据源配置 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @ConfigurationProperties(prefix = "spring.datasource") diff --git a/src/main/java/com/boot/security/server/config/RedisConfig.java b/src/main/java/com/boot/security/server/config/RedisConfig.java index 0503f5d..dec2d3c 100644 --- a/src/main/java/com/boot/security/server/config/RedisConfig.java +++ b/src/main/java/com/boot/security/server/config/RedisConfig.java @@ -13,7 +13,7 @@ import org.springframework.data.redis.serializer.GenericToStringSerializer; * 集群下启动session共享,需打开@EnableRedisHttpSession
* 单机下不需要 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年8月10日 */ diff --git a/src/main/java/com/boot/security/server/config/SecurityConfig.java b/src/main/java/com/boot/security/server/config/SecurityConfig.java index aecb17a..f0f9929 100644 --- a/src/main/java/com/boot/security/server/config/SecurityConfig.java +++ b/src/main/java/com/boot/security/server/config/SecurityConfig.java @@ -20,7 +20,7 @@ import com.boot.security.server.filter.TokenFilter; /** * spring security配置 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年10月16日 * diff --git a/src/main/java/com/boot/security/server/config/SecurityHandlerConfig.java b/src/main/java/com/boot/security/server/config/SecurityHandlerConfig.java index 1b293e6..5b557ee 100644 --- a/src/main/java/com/boot/security/server/config/SecurityHandlerConfig.java +++ b/src/main/java/com/boot/security/server/config/SecurityHandlerConfig.java @@ -28,7 +28,7 @@ import com.boot.security.server.utils.ResponseUtil; /** * spring security处理器 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年10月16日 */ diff --git a/src/main/java/com/boot/security/server/config/SwaggerConfig.java b/src/main/java/com/boot/security/server/config/SwaggerConfig.java index 39ed4cf..b75ab9e 100644 --- a/src/main/java/com/boot/security/server/config/SwaggerConfig.java +++ b/src/main/java/com/boot/security/server/config/SwaggerConfig.java @@ -17,7 +17,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2; /** * swagger文档 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年7月21日 */ diff --git a/src/main/java/com/boot/security/server/controller/GenerateController.java b/src/main/java/com/boot/security/server/controller/GenerateController.java index 7c67a40..7d61906 100644 --- a/src/main/java/com/boot/security/server/controller/GenerateController.java +++ b/src/main/java/com/boot/security/server/controller/GenerateController.java @@ -22,7 +22,7 @@ import io.swagger.annotations.ApiOperation; /** * 代码生成接口 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Api(tags = "代码生成") diff --git a/src/main/java/com/boot/security/server/controller/PermissionController.java b/src/main/java/com/boot/security/server/controller/PermissionController.java index cd21799..4041047 100644 --- a/src/main/java/com/boot/security/server/controller/PermissionController.java +++ b/src/main/java/com/boot/security/server/controller/PermissionController.java @@ -34,7 +34,7 @@ import io.swagger.annotations.ApiOperation; /** * 权限相关接口 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Api(tags = "权限") diff --git a/src/main/java/com/boot/security/server/controller/RoleController.java b/src/main/java/com/boot/security/server/controller/RoleController.java index 477e5d0..58f51d7 100644 --- a/src/main/java/com/boot/security/server/controller/RoleController.java +++ b/src/main/java/com/boot/security/server/controller/RoleController.java @@ -30,7 +30,7 @@ import io.swagger.annotations.ApiOperation; /** * 角色相关接口 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Api(tags = "角色") diff --git a/src/main/java/com/boot/security/server/controller/UserController.java b/src/main/java/com/boot/security/server/controller/UserController.java index d78551b..46909dd 100644 --- a/src/main/java/com/boot/security/server/controller/UserController.java +++ b/src/main/java/com/boot/security/server/controller/UserController.java @@ -33,7 +33,7 @@ import io.swagger.annotations.ApiOperation; /** * 用户相关接口 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Api(tags = "用户") diff --git a/src/main/java/com/boot/security/server/dto/Token.java b/src/main/java/com/boot/security/server/dto/Token.java index e6938c6..cc85aa1 100644 --- a/src/main/java/com/boot/security/server/dto/Token.java +++ b/src/main/java/com/boot/security/server/dto/Token.java @@ -5,7 +5,7 @@ import java.io.Serializable; /** * Restful方式登陆token * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年8月4日 */ diff --git a/src/main/java/com/boot/security/server/filter/TokenFilter.java b/src/main/java/com/boot/security/server/filter/TokenFilter.java index ec26e6c..e14ef7f 100644 --- a/src/main/java/com/boot/security/server/filter/TokenFilter.java +++ b/src/main/java/com/boot/security/server/filter/TokenFilter.java @@ -21,7 +21,7 @@ import com.boot.security.server.service.TokenService; /** * Token过滤器 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年10月14日 */ diff --git a/src/main/java/com/boot/security/server/page/table/PageTableArgumentResolver.java b/src/main/java/com/boot/security/server/page/table/PageTableArgumentResolver.java index 3a9eac0..2518200 100644 --- a/src/main/java/com/boot/security/server/page/table/PageTableArgumentResolver.java +++ b/src/main/java/com/boot/security/server/page/table/PageTableArgumentResolver.java @@ -19,7 +19,7 @@ import com.google.common.collect.Maps; /** * 分页、查询参数解析 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ public class PageTableArgumentResolver implements HandlerMethodArgumentResolver { diff --git a/src/main/java/com/boot/security/server/page/table/PageTableHandler.java b/src/main/java/com/boot/security/server/page/table/PageTableHandler.java index 2ed2240..84bce35 100644 --- a/src/main/java/com/boot/security/server/page/table/PageTableHandler.java +++ b/src/main/java/com/boot/security/server/page/table/PageTableHandler.java @@ -6,7 +6,7 @@ import java.util.List; /** * 分页查询处理器 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ diff --git a/src/main/java/com/boot/security/server/page/table/PageTableRequest.java b/src/main/java/com/boot/security/server/page/table/PageTableRequest.java index 806053e..f478930 100644 --- a/src/main/java/com/boot/security/server/page/table/PageTableRequest.java +++ b/src/main/java/com/boot/security/server/page/table/PageTableRequest.java @@ -6,7 +6,7 @@ import java.util.Map; /** * 分页查询参数 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ public class PageTableRequest implements Serializable { diff --git a/src/main/java/com/boot/security/server/page/table/PageTableResponse.java b/src/main/java/com/boot/security/server/page/table/PageTableResponse.java index fc46896..a61306d 100644 --- a/src/main/java/com/boot/security/server/page/table/PageTableResponse.java +++ b/src/main/java/com/boot/security/server/page/table/PageTableResponse.java @@ -6,7 +6,7 @@ import java.util.List; /** * 分页查询返回 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ public class PageTableResponse implements Serializable { diff --git a/src/main/java/com/boot/security/server/service/SysLogService.java b/src/main/java/com/boot/security/server/service/SysLogService.java index c743e84..4e099f5 100644 --- a/src/main/java/com/boot/security/server/service/SysLogService.java +++ b/src/main/java/com/boot/security/server/service/SysLogService.java @@ -5,7 +5,7 @@ import com.boot.security.server.model.SysLogs; /** * 日志service * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年8月19日 */ diff --git a/src/main/java/com/boot/security/server/service/TokenService.java b/src/main/java/com/boot/security/server/service/TokenService.java index 4d44b11..b8cde60 100644 --- a/src/main/java/com/boot/security/server/service/TokenService.java +++ b/src/main/java/com/boot/security/server/service/TokenService.java @@ -11,7 +11,7 @@ import com.boot.security.server.dto.Token; * 如要换成数据库存储,将TokenServiceImpl类上的注解@Primary挪到com.boot.security.server.service.impl.TokenServiceDbImpl * * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * * 2017年10月14日 */ diff --git a/src/main/java/com/boot/security/server/service/impl/TokenServiceDbImpl.java b/src/main/java/com/boot/security/server/service/impl/TokenServiceDbImpl.java index 8ffee03..4d497b6 100644 --- a/src/main/java/com/boot/security/server/service/impl/TokenServiceDbImpl.java +++ b/src/main/java/com/boot/security/server/service/impl/TokenServiceDbImpl.java @@ -32,7 +32,7 @@ import io.jsonwebtoken.SignatureAlgorithm; /** * token存到数据库的实现类 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Service diff --git a/src/main/java/com/boot/security/server/service/impl/TokenServiceImpl.java b/src/main/java/com/boot/security/server/service/impl/TokenServiceImpl.java index f9349c8..6d42f4f 100644 --- a/src/main/java/com/boot/security/server/service/impl/TokenServiceImpl.java +++ b/src/main/java/com/boot/security/server/service/impl/TokenServiceImpl.java @@ -16,7 +16,7 @@ import com.boot.security.server.service.TokenService; * token存到redis的实现类
* 普通token,uuid * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Deprecated diff --git a/src/main/java/com/boot/security/server/service/impl/TokenServiceJWTImpl.java b/src/main/java/com/boot/security/server/service/impl/TokenServiceJWTImpl.java index e5e92bb..0a139d9 100644 --- a/src/main/java/com/boot/security/server/service/impl/TokenServiceJWTImpl.java +++ b/src/main/java/com/boot/security/server/service/impl/TokenServiceJWTImpl.java @@ -32,7 +32,7 @@ import io.jsonwebtoken.SignatureAlgorithm; * token存到redis的实现类
* jwt实现的token * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Primary diff --git a/src/main/java/com/boot/security/server/service/impl/UserDetailsServiceImpl.java b/src/main/java/com/boot/security/server/service/impl/UserDetailsServiceImpl.java index af685d0..7950ec3 100644 --- a/src/main/java/com/boot/security/server/service/impl/UserDetailsServiceImpl.java +++ b/src/main/java/com/boot/security/server/service/impl/UserDetailsServiceImpl.java @@ -24,7 +24,7 @@ import com.boot.security.server.service.UserService; *

* 密码校验请看文档(02 框架及配置),第三章第4节 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com */ @Service public class UserDetailsServiceImpl implements UserDetailsService { diff --git a/src/main/java/com/boot/security/server/utils/ExcelUtil.java b/src/main/java/com/boot/security/server/utils/ExcelUtil.java index f4e207b..5e269cb 100644 --- a/src/main/java/com/boot/security/server/utils/ExcelUtil.java +++ b/src/main/java/com/boot/security/server/utils/ExcelUtil.java @@ -21,7 +21,7 @@ import org.apache.poi.ss.usermodel.Workbook; /** * excel工具类 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ public class ExcelUtil { diff --git a/src/main/java/com/boot/security/server/utils/FileUtil.java b/src/main/java/com/boot/security/server/utils/FileUtil.java index 6e2c580..2d66d42 100644 --- a/src/main/java/com/boot/security/server/utils/FileUtil.java +++ b/src/main/java/com/boot/security/server/utils/FileUtil.java @@ -16,7 +16,7 @@ import org.springframework.web.multipart.MultipartFile; /** * 文件工具类 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ public class FileUtil { diff --git a/src/main/java/com/boot/security/server/utils/SpringUtil.java b/src/main/java/com/boot/security/server/utils/SpringUtil.java index 20ad6a6..e693a3c 100644 --- a/src/main/java/com/boot/security/server/utils/SpringUtil.java +++ b/src/main/java/com/boot/security/server/utils/SpringUtil.java @@ -9,7 +9,7 @@ import org.springframework.stereotype.Component; /** * spring获取bean工具类 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ @Component diff --git a/src/main/java/com/boot/security/server/utils/StrUtil.java b/src/main/java/com/boot/security/server/utils/StrUtil.java index 383dbc9..de1639f 100644 --- a/src/main/java/com/boot/security/server/utils/StrUtil.java +++ b/src/main/java/com/boot/security/server/utils/StrUtil.java @@ -7,7 +7,7 @@ import com.google.common.collect.Lists; /** * 字符串转化工具类 * - * @author 小威老师 + * @author 小威老师 xiaoweijiagou@163.com * */ public class StrUtil {