服务启动
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
package org.xyzh.api.message;
|
||||
|
||||
/**
|
||||
* Message服务接口
|
||||
* 用于消息管理
|
||||
*/
|
||||
public interface MessageService {
|
||||
|
||||
}
|
||||
@@ -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 获取我的消息列表
|
||||
|
||||
Reference in New Issue
Block a user