Logs.go 363 B

123456789101112
  1. package routers
  2. import (
  3. "ColdVerify_local/controllers"
  4. beego "github.com/beego/beego/v2/server/web"
  5. )
  6. func init() {
  7. beego.Router("/Logs/List", &controllers.LogsController{}, "*:List") //
  8. beego.Router("/UserLogs/List", &controllers.LogsController{}, "*:UserLogs") //
  9. beego.Router("/Ping", &controllers.LogsController{}, "*:Ping") //
  10. }