This commit is contained in:
oneao committed 2025-11-23 22:43:57 +08:00
1 parent ac0843c041
commit a917be08d1
65 files changed
+8043

No files matched your search

@@ -0,0 +1,27 @@
syntax = "proto3";
package auth;
option go_package = "auth";
import "api.proto";
message LoginDefaultReq {
string Account = 1[(api.body)="account",(api.vd)="$!=''"];
string Password = 2[(api.body)="password",(api.vd)="$!=''"];
}
message LoginDefaultResp {
string token = 1;
string refreshToken = 2;
int64 userId = 3;
string username = 4;
int64 seqNo = 5;
int64 gender = 6;
}
service LoginService {
rpc LoginDefault(LoginDefaultReq) returns(LoginDefaultResp) {
option (api.post) = "/auth/login/default";
}
}