1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
pub use auth::*; mod auth; pub struct V1 { /// 身份验证 pub user_info: UserInfoService, } impl V1 { pub fn new(config: crate::core::config::Config) -> Self { Self { user_info: UserInfoService::new(config), } } }