Files
full/module/base/sender/proto/mail.proto

21 lines
407 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package sender;
option go_package=".;sender";
// Mail method
service Mail {
rpc Send(SendMailRequest) returns (SendMailReply);
}
// sms module
message SendMailRequest {
string provider =1;
string template_key = 2;
string to = 4;
bool is_gen_code = 5; // 是否生成验证码
map<string,string> paramters=6; // 验证码相关
}
message SendMailReply {
string data = 1;
}