protocols are modified

This commit is contained in:
병준 박 2022-07-17 05:47:16 +00:00
parent 4f52195ab1
commit f8373270e9
3 changed files with 21 additions and 9 deletions

View File

@ -11,6 +11,8 @@ pub struct CaptchaResponse {
#[prost(message, optional, tag = "1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<rpc::Error>, pub error: ::core::option::Option<rpc::Error>,
#[prost(string, optional, tag = "2")] #[prost(string, optional, tag = "2")]
pub token: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "3")]
pub image: ::core::option::Option<::prost::alloc::string::String>, pub image: ::core::option::Option<::prost::alloc::string::String>,
} }
@ -19,11 +21,13 @@ pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninRequest { pub struct SigninRequest {
#[prost(string, tag = "1")] #[prost(string, tag = "1")]
pub username: ::prost::alloc::string::String, pub token: ::prost::alloc::string::String,
#[prost(string, tag = "2")] #[prost(string, tag = "2")]
pub password: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub security_code: ::prost::alloc::string::String, pub security_code: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub password: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninResponse { pub struct SigninResponse {

View File

@ -11,6 +11,8 @@ pub struct CaptchaResponse {
#[prost(message, optional, tag = "1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<rpc::Error>, pub error: ::core::option::Option<rpc::Error>,
#[prost(string, optional, tag = "2")] #[prost(string, optional, tag = "2")]
pub token: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "3")]
pub image: ::core::option::Option<::prost::alloc::string::String>, pub image: ::core::option::Option<::prost::alloc::string::String>,
} }
@ -19,11 +21,13 @@ pub const SUBJECT_SIGNIN: &str = const_format::concatcp!(SUBJECT, ".Signin");
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninRequest { pub struct SigninRequest {
#[prost(string, tag = "1")] #[prost(string, tag = "1")]
pub username: ::prost::alloc::string::String, pub token: ::prost::alloc::string::String,
#[prost(string, tag = "2")] #[prost(string, tag = "2")]
pub password: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub security_code: ::prost::alloc::string::String, pub security_code: ::prost::alloc::string::String,
#[prost(string, tag = "3")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub password: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninResponse { pub struct SigninResponse {

View File

@ -15,6 +15,8 @@ pub struct CaptchaResponse {
#[prost(message, optional, tag = "1")] #[prost(message, optional, tag = "1")]
pub error: ::core::option::Option<rpc::Error>, pub error: ::core::option::Option<rpc::Error>,
#[prost(string, optional, tag = "2")] #[prost(string, optional, tag = "2")]
pub token: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag = "3")]
pub image: ::core::option::Option<::prost::alloc::string::String>, pub image: ::core::option::Option<::prost::alloc::string::String>,
} }
@ -25,11 +27,13 @@ pub struct SigninRequest {
#[prost(message, optional, tag = "1")] #[prost(message, optional, tag = "1")]
pub client: ::core::option::Option<core::network::Client>, pub client: ::core::option::Option<core::network::Client>,
#[prost(string, tag = "2")] #[prost(string, tag = "2")]
pub username: ::prost::alloc::string::String, pub token: ::prost::alloc::string::String,
#[prost(string, tag = "3")] #[prost(string, tag = "3")]
pub password: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub security_code: ::prost::alloc::string::String, pub security_code: ::prost::alloc::string::String,
#[prost(string, tag = "4")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag = "5")]
pub password: ::prost::alloc::string::String,
} }
#[derive(Clone, PartialEq, ::prost::Message)] #[derive(Clone, PartialEq, ::prost::Message)]
pub struct SigninResponse { pub struct SigninResponse {