pub mod ctl;
pub use ctl::*;
pub mod route_container;
pub use route_container::*;
pub mod route_factroy;
pub use route_factroy::*;
#[macro_export]
macro_rules! reg_route {
($name:ident, $path:expr,$method:ident, $handler:expr) => {
fn $name(cfg: &mut web::ServiceConfig) {
cfg.route($path, web::$method().to($handler));
}
println!("reg_route:{}", $path);
webrouter::register_route($name);
};
}
pub mod route_container_init;
pub use route_container_init::*;