提交说明

This commit is contained in:
huangsimin@fusen.cn 2024-01-26 15:06:52 +08:00
parent 85a8666724
commit 1300c78aa6

View File

@ -12,10 +12,10 @@ import "google/protobuf/timestamp.proto";
service notify {
//
rpc Ping(basic.Request) returns (basic.Response) {}
rpc Ping( basic.Request) returns (basic.Response) {}
//
rpc EmailSend(EmailSendReq) returns (EmailSendResp) {}
rpc EmailSend( EmailSendReq) returns (EmailSendResp) {}
//
rpc EmailRegisterConfirm( EmailRegisterReq) returns ( EmailRegisterResp) {}
@ -70,7 +70,7 @@ message EmailNotifyBasic {
// type email
message EmailSendReq {
EmailNotifyBasic basic_email = 1;
EmailNotifyBasic basic_email = 1; //
string title = 2; //
string content = 3; //
Operator operator = 4; //
@ -81,10 +81,9 @@ message EmailSendReq {
enum NotifyType {
email = 0; // email
feishu = 1; //
wechat = 2; //
// wechat = 2; //
}
//
enum EmailStatus {
ok = 0; //
@ -94,11 +93,9 @@ enum EmailStatus {
finish = 4; //
}
message EmailSendResp {
EmailStatus status = 1;
string msg = 2;
EmailStatus status = 1; //
string msg = 2; //
}
message EmailRegisterReq {
@ -113,8 +110,8 @@ message EmailRegisterResp {
message EmailResetHtmlReq {
EmailNotifyBasic basic_email = 1;
string confirmation_link = 2;
EmailNotifyBasic basic_email = 1; //
string confirmation_link = 2; //
}
message EmailResetHtmlResp {
@ -122,6 +119,7 @@ message EmailResetHtmlResp {
string notify_id = 2; // id
}
// rpc服务里
message EmailResetConfirmReq {
string reset_password_link = 1;
string reset_token = 2;
@ -134,8 +132,8 @@ message EmailResetConfirmResp {
message OrderPaymentDetailsReq {
EmailNotifyBasic basic_email = 1;
string payment_details_link = 2;
EmailNotifyBasic basic_email = 1; //
string payment_details_link = 2; //
}
message OrderPaymentDetailsResp {
@ -144,10 +142,11 @@ message OrderPaymentDetailsResp {
}
message OrderStatusTransitionReq {
EmailNotifyBasic basic_email = 1;
EmailNotifyBasic basic_email = 1; //
string last_status = 2; //
string current_status = 3; //
string check_status_link = 4; //
bool is_show_click_text = 5; //
}
message OrderStatusTransitionResp {
@ -157,7 +156,7 @@ message OrderStatusTransitionResp {
message OrderPayArrearsReq {
EmailNotifyBasic basic_email = 1;
EmailNotifyBasic basic_email = 1; //
string pay_arrears_link = 2; //
}