版本重构,加web管理方式

This commit is contained in:
刘河
2018-12-11 16:37:12 +08:00
parent 974f605ff6
commit abc30a9ad1
44 changed files with 20557 additions and 762 deletions

12
routers/router.go Executable file
View File

@@ -0,0 +1,12 @@
package routers
import (
"github.com/astaxie/beego"
"github.com/cnlh/easyProxy/controllers"
)
func init() {
beego.Router("/", &controllers.IndexController{}, "*:Index")
beego.AutoRouter(&controllers.IndexController{})
beego.AutoRouter(&controllers.LoginController{})
}