diff --git a/src/c2se/backend/member.rs b/src/c2se/backend/member.rs index c7f7142..2900d6e 100644 --- a/src/c2se/backend/member.rs +++ b/src/c2se/backend/member.rs @@ -106,15 +106,17 @@ pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".Updat /// subject = bet.beteran.c2se.backend.member.UpdateMember #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMemberRequest { - #[prost(string, optional, tag="1")] - pub site_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="2")] - pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="3")] - pub password: ::core::option::Option<::prost::alloc::string::String>, - #[prost(string, optional, tag="4")] - pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration="member::MemberState", optional, tag="5")] + #[prost(string, tag="1")] + pub id: ::prost::alloc::string::String, + #[prost(string, optional, tag="2")] + pub site_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag="3")] + pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag="4")] + pub password: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag="5")] + pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, + #[prost(enumeration="member::MemberState", optional, tag="6")] pub state: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/src/ss/member/member.rs b/src/ss/member/member.rs index 182a352..9178763 100644 --- a/src/ss/member/member.rs +++ b/src/ss/member/member.rs @@ -118,15 +118,17 @@ pub const SUBJECT_UPDATE_MEMBER: &str = const_format::concatcp!(SUBJECT, ".Updat pub struct UpdateMemberRequest { #[prost(message, optional, tag="1")] pub client: ::core::option::Option, - #[prost(string, optional, tag="2")] - pub site_id: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, tag="2")] + pub id: ::prost::alloc::string::String, #[prost(string, optional, tag="3")] - pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, + pub site_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="4")] - pub password: ::core::option::Option<::prost::alloc::string::String>, + pub member_level_id: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="5")] + pub password: ::core::option::Option<::prost::alloc::string::String>, + #[prost(string, optional, tag="6")] pub mobile_phone_number: ::core::option::Option<::prost::alloc::string::String>, - #[prost(enumeration="member::MemberState", optional, tag="6")] + #[prost(enumeration="member::MemberState", optional, tag="7")] pub state: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)]