refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,21 @@
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;
}