This commit is contained in:
oneao committed 2025-11-28 17:31:58 +08:00
1 parent d03ac2b00a
commit cf4291652a
43 files changed
+359 -6254

No files matched your search

@@ -1,7 +1,5 @@
syntax = "proto3";
package auth;
option go_package = "auth";
import "api.proto";
@@ -1 +1,20 @@
package auth
syntax = "proto3";
option go_package = "auth";
import "api.proto";
message RegisterDefaultReq {
string Account = 1[(api.body)="account",(api.vd)="$!=''"];
string Password = 2[(api.body)="password",(api.vd)="$!=''"];
}
message RegisterDefaultResp {
}
service RegisterService {
rpc RegisterDefault(RegisterDefaultReq) returns(RegisterDefaultResp) {
option (api.post) = "/auth/register/default";
}
}