Docs(Kdoc): Optimize kdoc
This commit is contained in:
@@ -46,9 +46,15 @@ import java.util.*
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see VelocityEngine
|
||||
* @see AuthenticationManager
|
||||
* @see PasswordEncoder
|
||||
* @see RedisUtil
|
||||
* @see TurnstileApi
|
||||
* @see IUserService
|
||||
* @see IUserInfoService
|
||||
* @see ISensitiveWordService
|
||||
* @see IAvatarService
|
||||
* @see IAuthenticationService
|
||||
*/
|
||||
@Service
|
||||
|
||||
@@ -13,6 +13,7 @@ import top.fatweb.oxygen.api.service.permission.IRUserRoleService
|
||||
* @since 1.0.0
|
||||
* @see ServiceImpl
|
||||
* @see RUserRoleMapper
|
||||
* @see RUserRole
|
||||
* @see IRUserRoleService
|
||||
*/
|
||||
@Service
|
||||
|
||||
@@ -16,7 +16,9 @@ import top.fatweb.oxygen.api.service.permission.IUserService
|
||||
* @see UserDetailsService
|
||||
*/
|
||||
@Service
|
||||
class UserDetailsServiceImpl(val userService: IUserService) : UserDetailsService {
|
||||
class UserDetailsServiceImpl(
|
||||
private val userService: IUserService
|
||||
) : UserDetailsService {
|
||||
override fun loadUserByUsername(account: String): UserDetails {
|
||||
val user = userService.getUserWithPowerByAccount(account)
|
||||
user ?: throw UserNotFoundException()
|
||||
|
||||
@@ -13,6 +13,7 @@ import top.fatweb.oxygen.api.service.permission.IUserInfoService
|
||||
* @since 1.0.0
|
||||
* @see ServiceImpl
|
||||
* @see UserInfoMapper
|
||||
* @see UserInfo
|
||||
* @see IUserInfoService
|
||||
*/
|
||||
@Service
|
||||
|
||||
@@ -17,6 +17,10 @@ import top.fatweb.oxygen.api.service.system.IEventLogService
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see ServiceImpl
|
||||
* @see EventLogMapper
|
||||
* @see EventLog
|
||||
* @see IEventLogService
|
||||
*/
|
||||
@DS("sqlite")
|
||||
@Service
|
||||
|
||||
@@ -20,6 +20,10 @@ import top.fatweb.oxygen.api.vo.system.SensitiveWordVo
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see ServiceImpl
|
||||
* @see SensitiveWordMapper
|
||||
* @see SensitiveWord
|
||||
* @see ISensitiveWordService
|
||||
*/
|
||||
@Service
|
||||
class SensitiveWordServiceImpl : ServiceImpl<SensitiveWordMapper, SensitiveWord>(), ISensitiveWordService {
|
||||
|
||||
@@ -12,6 +12,10 @@ import top.fatweb.oxygen.api.service.system.IStatisticsLogService
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see ServiceImpl
|
||||
* @see StatisticsLogMapper
|
||||
* @see StatisticsLog
|
||||
* @see IStatisticsLogService
|
||||
*/
|
||||
@DS("sqlite")
|
||||
@Service
|
||||
|
||||
@@ -29,6 +29,10 @@ import java.util.concurrent.TimeUnit
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see RedisUtil
|
||||
* @see IStatisticsLogService
|
||||
* @see IEventLogService
|
||||
* @see IStatisticsService
|
||||
*/
|
||||
@Service
|
||||
class StatisticsServiceImpl(
|
||||
|
||||
@@ -29,6 +29,8 @@ import java.time.ZoneOffset
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see IToolDataService
|
||||
* @see IRToolCategoryService
|
||||
* @see ServiceImpl
|
||||
* @see ManagementMapper
|
||||
* @see Tool
|
||||
@@ -123,5 +125,4 @@ class ManagementServiceImpl(
|
||||
|
||||
return this.removeById(id)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -24,6 +24,7 @@ import top.fatweb.oxygen.api.vo.tool.ToolBaseVo
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see IToolDataService
|
||||
* @see ServiceImpl
|
||||
* @see ToolBaseMapper
|
||||
* @see ToolBase
|
||||
|
||||
@@ -24,6 +24,8 @@ import top.fatweb.oxygen.api.vo.tool.ToolTemplateVo
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see IToolDataService
|
||||
* @see IToolBaseService
|
||||
* @see ServiceImpl
|
||||
* @see ToolTemplateMapper
|
||||
* @see ToolTemplate
|
||||
|
||||
Reference in New Issue
Block a user