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,24 @@
syntax = "proto3";
package passport;
option go_package = ".;passport";
import "blocks.proto";
// Passport通行证模块-找回密码
service Forget{
// 验证手机号和验证码
rpc Verify(ForgetVerifyRequest) returns(StatusReply) {}
// 重罢密码
rpc Reset(ForgetResetRequest) returns (StatusReply) {}
}
message ForgetVerifyRequest {
string phone = 1; //手机号
string code = 2; // 验证码
}
message ForgetResetRequest {
string identity = 1; //唯一码
string password = 2; // 密码
}