User.go 412 B

1234567891011121314151617
  1. package routers
  2. import (
  3. "bzd_server/controllers"
  4. beego "github.com/beego/beego/v2/server/web"
  5. )
  6. func init() {
  7. beego.Router("/User/List", &controllers.UserController{}, "*:List") //
  8. beego.Router("/User/Add", &controllers.UserController{}, "*:Add") //
  9. beego.Router("/User/Up", &controllers.UserController{}, "*:Up") //
  10. beego.Router("/User/Del", &controllers.UserController{}, "*:Del") //
  11. }