Files
oxygen-api/src/main/kotlin/top/fatweb/api/service/system/ISettingsService.kt
2023-12-05 10:53:57 +08:00

31 lines
670 B
Kotlin

package top.fatweb.api.service.system
import top.fatweb.api.param.system.MailSettingsParam
import top.fatweb.api.vo.system.SettingsVo
/**
* Settings service interface
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
*/
interface ISettingsService {
/**
* Get all settings
*
* @return SettingVo object
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see SettingsVo
*/
fun get(): SettingsVo
/**
* Update mail settings
*
* @author FatttSnake, fatttsnake@gmail.com
* @since 1.0.0
* @see MailSettingsParam
*/
fun updateMail(mailSettingsParam: MailSettingsParam)
}