update mian.rs and openapi.json

This commit is contained in:
zhenyi
2026-06-12 16:55:36 +08:00
parent 5f4e9bdfa7
commit 931d82cbb9
5 changed files with 167 additions and 0 deletions
+2
View File
@@ -16,6 +16,7 @@ pub mod rsa;
pub mod verify_2fa;
pub mod verify_email;
pub mod verify_reset_password;
pub mod ws_token;
use actix_web::web;
@@ -27,6 +28,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
.route("/login", web::post().to(login::handle))
.route("/logout", web::post().to(logout::handle))
.route("/me", web::get().to(me::handle))
.route("/ws-token", web::post().to(ws_token::handle))
.route(
"/register/email-code",
web::post().to(register_email_code::handle),