服务启动

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

@@ -1,9 +0,0 @@
package org.xyzh.api.message;
/**
* Message服务接口
* 用于消息管理
*/
public interface MessageService {
}

View File

@@ -14,8 +14,20 @@ import org.xyzh.common.core.page.PageParam;
* @since 2025-11-05
*/
public interface MessageService {
// ================ 发送邮件 ==================
ResultDomain<String> sendSimpleEmail(String to, String subject, String content);
ResultDomain<String> sendHtmlEmail(String to, String subject, String content);
ResultDomain<String> sendEmailVerificationCode(String to, String code);
// ================ 发送短信 ==================
//================= 用户查看消息列表 =================
ResultDomain<String> sendPhoneVerificationCode(String phone, String code);
/**
* @description 获取我的消息列表

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 根据条件查询用户列表