服务启动

This commit is contained in:
2025-12-05 18:24:21 +08:00
parent a8233ceb72
commit 133209691e
39 changed files with 2526 additions and 30 deletions

View File

@@ -13,6 +13,43 @@ import org.xyzh.common.dto.sys.TbSysConfigDTO;
* @since 2025-11-05
*/
public interface SysConfigService {
// ================== 读取配置 ========================
/**
* 获取字符串类型配置
* @param key 配置键
* @return 配置值
*/
String getStringConfig(String key);
/**
* 获取整数类型配置
* @param key 配置键
* @return 配置值如果不存在或解析失败返回null
*/
Integer getIntConfig(String key);
/**
* 获取布尔类型配置
* @param key 配置键
* @return 配置值如果不存在或解析失败返回null
*/
Boolean getBooleanConfig(String key);
/**
* 获取浮点数类型配置
* @param key 配置键
* @return 配置值如果不存在或解析失败返回null
*/
Double getDoubleConfig(String key);
/**
* 获取长整数类型配置
* @param key 配置键
* @return 配置值如果不存在或解析失败返回null
*/
Long getLongConfig(String key);
// =====================================================
/**
* @description 插入系统配置

View File

@@ -18,6 +18,10 @@ import org.xyzh.common.dto.sys.TbSysUserRoleDTO;
public interface SysUserService {
// ================= 用户基本信息管理 =================
ResultDomain<TbSysUserDTO> registerUser(SysUserVO userVO);
/**
* @description 插入用户
* @param userVO 用户VO
@@ -61,7 +65,7 @@ public interface SysUserService {
* @author yslg
* @since 2025-11-05
*/
ResultDomain<SysUserVO> getLoginUser(SysUserVO filter);
ResultDomain<TbSysUserDTO> getLoginUser(TbSysUserDTO filter);
/**
* @description 根据条件查询用户列表