router.go 288 B

123456789101112
  1. package routers
  2. import (
  3. "Wx_MP/controllers"
  4. beego "github.com/beego/beego/v2/server/web"
  5. )
  6. func init() {
  7. beego.Router("/Wx_handler", &controllers.WxController{}, "*:Wx_handler")
  8. //beego.Router("/Wx_handler", &controllers.WxController{}, "*:Wx_Verification") // 验证的时候
  9. }