mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-18 14:01:04 +00:00
feat: add admin login request
This commit is contained in:
parent
d657c5dfee
commit
f6e45dc89b
1 changed files with 8 additions and 0 deletions
|
|
@ -13,4 +13,12 @@ pub struct LoginRequest {
|
|||
pub struct RegisterRequest {
|
||||
pub application_id: i32,
|
||||
pub personal_id_number: String,
|
||||
}
|
||||
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
#[serde(crate = "rocket::serde")]
|
||||
pub struct AdminLoginRequest {
|
||||
pub admin_id: i32,
|
||||
pub password: String,
|
||||
}
|
||||
Loading…
Reference in a new issue