From f6beee52cb5bda9bac97c28830a88094a265634b Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Thu, 11 Aug 2022 07:59:40 +0000 Subject: [PATCH] bug fixed --- src/c2se/backend/member.rs | 20 +++++++++++--------- src/ss/member/member.rs | 12 +++++++----- 2 files changed, 18 insertions(+), 14 deletions(-) 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)]