Add doc
This commit is contained in:
@@ -21,6 +21,12 @@ import top.fatweb.api.vo.permission.TokenVo
|
||||
import java.time.LocalDateTime
|
||||
import java.time.ZoneOffset
|
||||
|
||||
/**
|
||||
* Authentication service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class AuthenticationServiceImpl(
|
||||
private val authenticationManager: AuthenticationManager,
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.ElementMapper
|
||||
import top.fatweb.api.service.permission.IElementService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 页面元素表 服务实现类
|
||||
* </p>
|
||||
* Element service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class ElementServiceImpl : ServiceImpl<ElementMapper, Element>(), IElementService
|
||||
|
||||
@@ -18,12 +18,10 @@ import top.fatweb.api.vo.permission.GroupVo
|
||||
import top.fatweb.api.vo.permission.GroupWithRoleVo
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户组表 服务实现类
|
||||
* </p>
|
||||
* Group service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class GroupServiceImpl(
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.MenuMapper
|
||||
import top.fatweb.api.service.permission.IMenuService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 菜单表 服务实现类
|
||||
* </p>
|
||||
* Menu service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class MenuServiceImpl : ServiceImpl<MenuMapper, Menu>(), IMenuService
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.ModuleMapper
|
||||
import top.fatweb.api.service.permission.IModuleService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 模块表 服务实现类
|
||||
* </p>
|
||||
* Module service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class ModuleServiceImpl : ServiceImpl<ModuleMapper, Module>(), IModuleService
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.OperationMapper
|
||||
import top.fatweb.api.service.permission.IOperationService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 功能表 服务实现类
|
||||
* </p>
|
||||
* Operation service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class OperationServiceImpl : ServiceImpl<OperationMapper, Operation>(), IOperationService
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.PowerRoleMapper
|
||||
import top.fatweb.api.service.permission.IPowerRoleService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 中间表-权限-角色 服务实现类
|
||||
* </p>
|
||||
* Power role intermediate service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class PowerRoleServiceImpl : ServiceImpl<PowerRoleMapper, PowerRole>(), IPowerRoleService
|
||||
|
||||
@@ -9,12 +9,10 @@ import top.fatweb.api.mapper.permission.PowerMapper
|
||||
import top.fatweb.api.service.permission.*
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 权限表 服务实现类
|
||||
* </p>
|
||||
* Power service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class PowerServiceImpl(
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
package top.fatweb.api.service.permission.impl
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
|
||||
import org.springframework.stereotype.Service
|
||||
import top.fatweb.api.entity.permission.PowerType
|
||||
import top.fatweb.api.mapper.permission.PowerTypeMapper
|
||||
import top.fatweb.api.service.permission.IPowerTypeService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 权限类型表 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
*/
|
||||
@Service
|
||||
class PowerTypeServiceImpl : ServiceImpl<PowerTypeMapper, PowerType>(), IPowerTypeService
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.RoleGroupMapper
|
||||
import top.fatweb.api.service.permission.IRoleGroupService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 中间表-角色-用户组 服务实现类
|
||||
* </p>
|
||||
* Role group intermediate service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class RoleGroupServiceImpl : ServiceImpl<RoleGroupMapper, RoleGroup>(), IRoleGroupService
|
||||
|
||||
@@ -20,12 +20,10 @@ import top.fatweb.api.vo.permission.RoleVo
|
||||
import top.fatweb.api.vo.permission.RoleWithPowerVo
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 角色表 服务实现类
|
||||
* </p>
|
||||
* Role service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class RoleServiceImpl(
|
||||
|
||||
@@ -6,6 +6,12 @@ import org.springframework.stereotype.Service
|
||||
import top.fatweb.api.entity.permission.LoginUser
|
||||
import top.fatweb.api.service.permission.IUserService
|
||||
|
||||
/**
|
||||
* User details service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class UserDetailsServiceImpl(val userService: IUserService) : UserDetailsService {
|
||||
override fun loadUserByUsername(username: String): UserDetails {
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.UserGroupMapper
|
||||
import top.fatweb.api.service.permission.IUserGroupService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 中间表-用户-用户组 服务实现类
|
||||
* </p>
|
||||
* User group intermediate service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class UserGroupServiceImpl : ServiceImpl<UserGroupMapper, UserGroup>(), IUserGroupService
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.UserInfoMapper
|
||||
import top.fatweb.api.service.permission.IUserInfoService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户资料表 服务实现类
|
||||
* </p>
|
||||
* User information service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-30
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class UserInfoServiceImpl : ServiceImpl<UserInfoMapper, UserInfo>(), IUserInfoService
|
||||
|
||||
@@ -7,12 +7,10 @@ import top.fatweb.api.mapper.permission.UserRoleMapper
|
||||
import top.fatweb.api.service.permission.IUserRoleService
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 中间表-用户-角色 服务实现类
|
||||
* </p>
|
||||
* User role intermediate service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-25
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class UserRoleServiceImpl : ServiceImpl<UserRoleMapper, UserRole>(), IUserRoleService
|
||||
|
||||
@@ -8,12 +8,10 @@ import top.fatweb.api.service.permission.*
|
||||
import top.fatweb.api.util.WebUtil
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 用户表 服务实现类
|
||||
* </p>
|
||||
* User service implement
|
||||
*
|
||||
* @author FatttSnake
|
||||
* @since 2023-10-04
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Service
|
||||
class UserServiceImpl(
|
||||
|
||||
Reference in New Issue
Block a user