Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zoctan/spring-boot-vue-admin
/ types & classes
Types & classes
74 in github.com/Zoctan/spring-boot-vue-admin
⨍
Functions
297
◇
Types & classes
74
Class
AbstractService
基于通用 MyBatis Mapper 插件的 Service 接口的实现 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/service/AbstractService.java:23
Class
Account
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/entity/Account.java:14
Class
AccountController
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/controller/AccountController.java:29
Class
AccountDetailsServiceImpl
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/impl/AccountDetailsServiceImpl.java:19
Class
AccountDto
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/dto/AccountDto.java:15
Interface
AccountMapper
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/mapper/AccountMapper.java:16
Class
AccountRole
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/entity/AccountRole.java:13
Class
AccountRoleController
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/controller/AccountRoleController.java:20
Interface
AccountRoleMapper
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/mapper/AccountRoleMapper.java:12
Interface
AccountRoleService
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/AccountRoleService.java:10
Class
AccountRoleServiceImpl
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/impl/AccountRoleServiceImpl.java:16
Interface
AccountService
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/AccountService.java:17
Class
AccountServiceImpl
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/impl/AccountServiceImpl.java:27
Class
AccountWithRole
@author Zoctan @date 2018/10/16
api/src/main/java/com/zoctan/api/dto/AccountWithRole.java:13
Class
AccountWithRolePermission
@author Zoctan @date 2018/10/16
api/src/main/java/com/zoctan/api/dto/AccountWithRolePermission.java:13
Class
AesUtils
AES加解密工具 @author Zoctan @date 2018/11/29
api/src/main/java/com/zoctan/api/util/AesUtils.java:22
Class
Application
主程序 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/Application.java:23
Class
AssertUtils
断言工具 @author Zoctan @date 2018/11/29
api/src/main/java/com/zoctan/api/util/AssertUtils.java:12
Class
AuthenticationFilter
身份认证过滤器 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/filter/AuthenticationFilter.java:29
Class
BaseControllerTest
api/src/test/java/com/tsbtv/report/BaseControllerTest.java:35
Class
CodeGenerator
代码生成器 根据数据表名称生成对应的 Entity、Mapper、Service、Controller 简化开发 @author Zoctan @date 2018/05/27
api/src/test/java/CodeGenerator.java:22
Class
ContextUtils
上下文工具 @author Zoctan @date 2018/07/20
api/src/main/java/com/zoctan/api/util/ContextUtils.java:14
Class
ControllerLogAspect
controller日志切面 @author Zoctan @date 2018/07/13
api/src/main/java/com/zoctan/api/aspect/ControllerLogAspect.java:22
Class
ExceptionResolver
统一异常处理 对于业务异常:返回头 Http 状态码一律使用500,避免浏览器缓存,在响应 Result 中指明异常的状态码 code @author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/core/exception/ExceptionResolver.java:31
Class
Handle
@author Zoctan @date 2018/10/16
api/src/main/java/com/zoctan/api/entity/Handle.java:11
Class
IpUtils
IP工具 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/util/IpUtils.java:23
Class
JasyptConfig
Jasypt 配置 @author Zoctan @date 2018/07/21
api/src/main/java/com/zoctan/api/core/config/JasyptConfig.java:20
Class
JasyptStringEncryptor
jasypt 用于加密配置文件 https://github.com/ulisesbocchio/jasypt-spring-boot @author Zoctan @date 2018/05/27
api/src/test/java/JasyptStringEncryptor.java:17
Class
JsonUtils
Json工具 @author Zoctan @date 2018/07/11
api/src/main/java/com/zoctan/api/util/JsonUtils.java:14
Class
JwtConfigurationProperties
Json web token 配置 @author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/core/jwt/JwtConfigurationProperties.java:15
Class
JwtUtil
Json web token 工具 验证、生成 token @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/jwt/JwtUtil.java:27
Class
MyAuthenticationEntryPoint
认证入口点 因为 RESTFul 没有登录界面所以只显示未登录提示 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/filter/MyAuthenticationEntryPoint.java:22
Class
MyEncryptablePropertyDetector
自定义被加密值的发现器 默认:ENC(abc) 自定义:MyEnc({abc}) @author Zoctan @date 2018/07/20
api/src/main/java/com/zoctan/api/core/jasypt/MyEncryptablePropertyDetector.java:13
Interface
MyMapper
定制版 MyBatis Mapper 插件接口,如需其他接口参考官方文档自行添加 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/mapper/MyMapper.java:14
Class
MyRedisCacheManager
Redis 容易出现缓存问题(超时、Redis 宕机等),当使用 spring cache 的注释 Cacheable、Cacheput 等处理缓存问题时, 我们无法使用 try catch 处理出现的异常,所以最后导致结果是整个服务报错无法正常工作。 通过自定义 MyRedisCacheManag
api/src/main/java/com/zoctan/api/core/cache/MyRedisCacheManager.java:36
Class
PasswordEncryptor
@author Zoctan @date 2018/05/27
api/src/test/java/PasswordEncryptor.java:13
Class
Permission
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/entity/Permission.java:13
Class
PermissionController
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/controller/PermissionController.java:21
Interface
PermissionMapper
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/mapper/PermissionMapper.java:15
Interface
PermissionService
@author Zoctan @date 2018/05/17
api/src/main/java/com/zoctan/api/service/PermissionService.java:13
Class
PermissionServiceImpl
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/impl/PermissionServiceImpl.java:17
Class
ProjectConstant
项目常量 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/constant/ProjectConstant.java:9
Class
RedisCacheConfig
Redis缓存配置 @author Zoctan @date 2018/07/11
api/src/main/java/com/zoctan/api/core/config/RedisCacheConfig.java:29
Class
RedisCacheWrapper
api/src/main/java/com/zoctan/api/core/cache/MyRedisCacheManager.java:163
Class
RedisConfig
Redis配置 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/config/RedisConfig.java:27
Class
RedisUtils
Redis工具 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/util/RedisUtils.java:18
Class
RequestWrapper
请求装饰器,用于多次读取请求流 @author Zoctan @date 2018/07/13
api/src/main/java/com/zoctan/api/filter/RequestWrapper.java:18
Class
Resource
@author Zoctan @date 2018/10/16
api/src/main/java/com/zoctan/api/entity/Resource.java:12
Class
ResourcesNotFoundException
资源没找到异常(更新和删除都需先确认存在才操作) @author Zoctan @date 2018/07/20
api/src/main/java/com/zoctan/api/core/exception/ResourcesNotFoundException.java:9
Class
Result
@author Zoctan @date 2018/07/15
api/src/main/java/com/zoctan/api/core/response/Result.java:11
Enum
ResultCode
响应状态码枚举类 <p>自定义业务异常 2 开始 <p>原有类异常 4 开始 @author Zoctan @date 2018/07/14
api/src/main/java/com/zoctan/api/core/response/ResultCode.java:13
Class
ResultGenerator
响应结果生成工具 @author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/core/response/ResultGenerator.java:11
Class
Role
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/entity/Role.java:16
Class
RoleController
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/controller/RoleController.java:22
Interface
RoleMapper
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/mapper/RoleMapper.java:14
Class
RolePermission
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/entity/RolePermission.java:13
Interface
RolePermissionMapper
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/mapper/RolePermissionMapper.java:13
Interface
RolePermissionService
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/RolePermissionService.java:10
Class
RolePermissionServiceImpl
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/impl/RolePermissionServiceImpl.java:16
Interface
RoleService
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/RoleService.java:14
Class
RoleServiceImpl
@author Zoctan @date 2018/06/09
api/src/main/java/com/zoctan/api/service/impl/RoleServiceImpl.java:23
Class
RoleWithPermission
@author Zoctan @date 2018/10/16
api/src/main/java/com/zoctan/api/dto/RoleWithPermission.java:11
Class
RoleWithResource
@author Zoctan @date 2018/10/16
api/src/main/java/com/zoctan/api/dto/RoleWithResource.java:15
Class
RsaConfigurationProperties
RSA 配置 @author Zoctan @date 2018/07/20
api/src/main/java/com/zoctan/api/core/rsa/RsaConfigurationProperties.java:13
Class
RsaEncryptor
RSA工具测试 @author Zoctan @date 2018/05/27
api/src/test/java/RsaEncryptor.java:16
Class
RsaUtils
RSA 工具 <p>用openssl生成512位RSA: <p>生成私钥: openssl genrsa -out key.pem 512 <p>从私钥中导出公钥: openssl rsa -in key.pem -pubout -out public-key.pem <p>公钥加密: op
api/src/main/java/com/zoctan/api/core/rsa/RsaUtils.java:36
Interface
Service
Service 层基础接口 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/service/Service.java:15
Class
ServiceException
Service 异常 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/exception/ServiceException.java:11
Class
Swagger2Config
Swagger2 在线API文档 http://springfox.github.io/springfox/docs/current/#getting-started @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/config/Swagger2Config.java:22
Class
UrlUtils
Url工具 @author Zoctan @date 2018/07/13
api/src/main/java/com/zoctan/api/util/UrlUtils.java:12
Class
ValidatorConfig
参数校验 https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#section-constraint-violation-methods @author Zoctan @date 2018/05
api/src/main/java/com/zoctan/api/core/config/ValidatorConfig.java:19
Class
WebMvcConfig
Spring MVC 配置 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/config/WebMvcConfig.java:23
Class
WebSecurityConfig
安全设置 @author Zoctan @date 2018/05/27
api/src/main/java/com/zoctan/api/core/config/WebSecurityConfig.java:27
Class
WithCustomSecurityContextFactory
设置用户登陆时的 SecurityContext @author Zoctan @date 2018/11/29
api/src/test/java/com/tsbtv/report/WithCustomSecurityContextFactory.java:19