更新notify的结构

This commit is contained in:
huangsimin@fusen.cn 2024-01-26 10:32:07 +08:00
parent a5165828ba
commit 85a8666724

View File

@ -15,7 +15,7 @@ service notify {
rpc Ping(basic.Request) returns (basic.Response) {}
//
rpc EmailSend(EmailSendReq) returns (EmailSendRes) {}
rpc EmailSend(EmailSendReq) returns (EmailSendResp) {}
//
rpc EmailRegisterConfirm( EmailRegisterReq) returns ( EmailRegisterResp) {}
@ -64,6 +64,7 @@ message EmailNotifyBasic {
optional string notify_id = 1; // , 256, uuid
string sender = 2; //
string target_email = 3; // email
string subject_title = 4; //
}
@ -95,14 +96,14 @@ enum EmailStatus {
message EmailSendRes {
message EmailSendResp {
EmailStatus status = 1;
string msg = 2;
}
message EmailRegisterReq {
EmailNotifyBasic basic_email = 1;
string confirmation_link = 2;
EmailNotifyBasic basic_email = 1; //
string confirmation_link = 2; //
}
message EmailRegisterResp {
@ -113,7 +114,7 @@ message EmailRegisterResp {
message EmailResetHtmlReq {
EmailNotifyBasic basic_email = 1;
string confirmation_link = 4;
string confirmation_link = 2;
}
message EmailResetHtmlResp {