create_member of ss is changed

This commit is contained in:
병준 박 2022-08-24 07:12:09 +00:00
parent 8f4e5f4bdc
commit 3638e0b80a
3 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,7 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tokio-cron-scheduler = { version = "0" } tokio-cron-scheduler = { version = "0" }
uuid = { version = "0", features = ["serde", "v4", "v5"] } uuid = { version = "0", features = ["serde", "v4", "v5"] }
beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.73-snapshot" } beteran-protobuf-rust = { git = "https://gitlab.loafle.net/bet/beteran-protobuf-rust.git", tag = "v0.1.74-snapshot" }
beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.57-snapshot" } beteran-common-rust = { git = "https://gitlab.loafle.net/bet/beteran-common-rust.git", tag = "v0.1.58-snapshot" }
[build-dependencies] [build-dependencies]

View File

@ -58,6 +58,8 @@ pub struct NewMember {
/// ///
pub password: String, pub password: String,
/// ///
pub state: MemberState,
///
pub nickname: String, pub nickname: String,
/// ///
pub mobile_phone_number: Option<String>, pub mobile_phone_number: Option<String>,

View File

@ -326,6 +326,7 @@ impl Service<'_> {
username: request.username, username: request.username,
password: password_hash, password: password_hash,
nickname: request.nickname, nickname: request.nickname,
state: repositories::member::schema::MemberState::from(request.state),
mobile_phone_number: request.mobile_phone_number, mobile_phone_number: request.mobile_phone_number,
}; };