Files
port-forward/forward-server/Controllers/BaseCtrl/WebCtrl.go
T
2020-12-01 21:19:37 +08:00

17 lines
258 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package BaseCtrl
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
)
type WebCtrl struct {
beego.Controller
}
func (c *WebCtrl) Prepare() {
reqUrl := c.Ctx.Request.RequestURI
logs.Debug("执行Prepare,当前reqUrl", reqUrl)
}