Files
workspace/code/base-project/base-go-v3/idl/auth/register.proto
T
2025-11-28 17:31:58 +08:00

21 lines
415 B
Protocol Buffer

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";
}
}