This commit is contained in:
2024-07-24 10:41:15 +03:30
parent 0e93462481
commit b8d8aac599
2 changed files with 6 additions and 18 deletions
Vendored
BIN
View File
Binary file not shown.
+6 -18
View File
@@ -6,9 +6,7 @@ package authorization;
Internal
*/
message InternalInitRoutesReq {
repeated InternalRoute routes = 1;
}
message InternalInitRoutesReq { repeated InternalRoute routes = 1; }
message InternalRoute {
string path = 1;
string method = 2;
@@ -30,20 +28,14 @@ message Permission {
string method = 5;
}
message PermissionList {
repeated Permission list = 1;
}
message PermissionList { repeated Permission list = 1; }
/*
UserSendOtp
*/
message UserSendOtpReq {
string mobile = 1;
}
message UserSendOtpRes {
int64 expired_at = 1;
}
message UserSendOtpReq { string mobile = 1; }
message UserSendOtpRes { int64 expired_at = 1; }
/*
UserLogin
@@ -53,9 +45,7 @@ message UserLoginReq {
string mobile = 1;
string otp_code = 2;
}
message UserRefreshTokenReq {
string refresh_token = 1;
}
message UserRefreshTokenReq { string refresh_token = 1; }
message UserAccessTokenRes {
string access_token = 1;
int64 access_expired_at = 2;
@@ -151,9 +141,7 @@ message UserUpdateBankInfoReq {
string card_number = 4;
}
message BankInfoList {
repeated BankInfo list = 1;
}
message BankInfoList { repeated BankInfo list = 1; }
message BankInfo {
int64 id = 1;