bug fixed

This commit is contained in:
병준 박 2022-08-12 06:51:15 +00:00
parent 9fe643031a
commit 4480475917

View File

@ -6,6 +6,47 @@ use crate::models::member;
const SUBJECT: &str = "bet.beteran.ss.member";
pub const SUBJECT_CREATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".CreateMember");
/// subject = bet.beteran.ss.member.CreateMember
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberRequest {
#[prost(message, optional, tag="1")]
pub client: ::core::option::Option<core::network::Client>,
#[prost(string, tag="2")]
pub site_id: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub member_class_id: ::prost::alloc::string::String,
#[prost(string, tag="4")]
pub member_level_id: ::prost::alloc::string::String,
#[prost(string, optional, tag="5")]
pub referrer_member_id: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, tag="6")]
pub username: ::prost::alloc::string::String,
#[prost(string, tag="7")]
pub nickname: ::prost::alloc::string::String,
#[prost(string, optional, tag="8")]
pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>,
#[prost(enumeration="member::MemberState", tag="9")]
pub state: i32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateMemberResponse {
#[prost(message, optional, tag="1")]
pub error: ::core::option::Option<rpc::Error>,
#[prost(message, optional, tag="2")]
pub result: ::core::option::Option<create_member_response::Result>,
}
/// Nested message and enum types in `CreateMemberResponse`.
pub mod create_member_response {
use crate::models::member;
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Result {
#[prost(message, optional, tag="1")]
pub member: ::core::option::Option<member::MemberModel>,
}
}
pub const SUBJECT_LIST_MEMBERS: &str = const_format::concatcp!(SUBJECT, ".ListMembers");
/// subject = bet.beteran.ss.member.ListMembers
#[derive(Clone, PartialEq, ::prost::Message)]