|  | @@ -12,7 +12,6 @@ import (
 | 
	
		
			
				|  |  |  	"go.mod/services"
 | 
	
		
			
				|  |  |  	"go.mod/web/api"
 | 
	
		
			
				|  |  |  	"go.mod/web/backstage"
 | 
	
		
			
				|  |  | -	"go.mod/web/controllers"
 | 
	
		
			
				|  |  |  	"go.mod/web/middleware"
 | 
	
		
			
				|  |  |  )
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -44,15 +43,15 @@ func Configure(b *bootstrap.Bootstrapper) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	//登录相关
 | 
	
		
			
				|  |  |  	//login := mvc.New(b.Party("/", protect))
 | 
	
		
			
				|  |  | -	login := mvc.New(b.Party("/"))
 | 
	
		
			
				|  |  | -	login.Register(ProjectAccountService)
 | 
	
		
			
				|  |  | -	login.Register(LoginService)
 | 
	
		
			
				|  |  | -	login.Handle(new(controllers.LoginController))
 | 
	
		
			
				|  |  | +	// login := mvc.New(b.Party("/"))
 | 
	
		
			
				|  |  | +	// login.Register(ProjectAccountService)
 | 
	
		
			
				|  |  | +	// login.Register(LoginService)
 | 
	
		
			
				|  |  | +	// login.Handle(new(controllers.LoginController))
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	// todolist相关
 | 
	
		
			
				|  |  | -	todo := mvc.New(b.Party("/todolist"))
 | 
	
		
			
				|  |  | -	todo.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | -	todo.Handle(new(controllers.TodoController))
 | 
	
		
			
				|  |  | +	// todo := mvc.New(b.Party("/todolist"))
 | 
	
		
			
				|  |  | +	// todo.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | +	// todo.Handle(new(controllers.TodoController))
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	// // 合同管理
 | 
	
		
			
				|  |  |  	// contract := mvc.New(b.Party("/contract"))
 | 
	
	
		
			
				|  | @@ -61,23 +60,23 @@ func Configure(b *bootstrap.Bootstrapper) {
 | 
	
		
			
				|  |  |  	// 安全巡检
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	//用户相关
 | 
	
		
			
				|  |  | -	account := mvc.New(b.Party("/account"))
 | 
	
		
			
				|  |  | -	account.Register(ProjectAccountService)
 | 
	
		
			
				|  |  | -	account.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | -	account.Handle(new(controllers.AccountController))
 | 
	
		
			
				|  |  | +	// account := mvc.New(b.Party("/account"))
 | 
	
		
			
				|  |  | +	// account.Register(ProjectAccountService)
 | 
	
		
			
				|  |  | +	// account.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | +	// account.Handle(new(controllers.AccountController))
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	// 项目相关
 | 
	
		
			
				|  |  | -	project := mvc.New(b.Party("/project"))
 | 
	
		
			
				|  |  | -	project.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | -	project.Register(TreeService)
 | 
	
		
			
				|  |  | -	project.Register(ProjectService)
 | 
	
		
			
				|  |  | -	project.Handle(new(controllers.ProjectController))
 | 
	
		
			
				|  |  | +	// project := mvc.New(b.Party("/project"))
 | 
	
		
			
				|  |  | +	// project.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | +	// project.Register(TreeService)
 | 
	
		
			
				|  |  | +	// project.Register(ProjectService)
 | 
	
		
			
				|  |  | +	// project.Handle(new(controllers.ProjectController))
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	//标段相关
 | 
	
		
			
				|  |  | -	bidsection := mvc.New(b.Party("/bidsection"))
 | 
	
		
			
				|  |  | -	bidsection.Register(ProjectService)
 | 
	
		
			
				|  |  | -	bidsection.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | -	bidsection.Handle(new(controllers.BidsectionController))
 | 
	
		
			
				|  |  | +	// bidsection := mvc.New(b.Party("/bidsection"))
 | 
	
		
			
				|  |  | +	// bidsection.Register(ProjectService)
 | 
	
		
			
				|  |  | +	// bidsection.Router.Use(middleware.SessionsAuth)
 | 
	
		
			
				|  |  | +	// bidsection.Handle(new(controllers.BidsectionController))
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	// apiTree.Router.Use(middleware.JwtAuth().Serve)
 | 
	
		
			
				|  |  |  	// 接口相关
 |