Browse Source

云悦

layui
mail_yanpeng@163.com 6 years ago
parent
commit
1b319126a7
  1. 5
      filter/Security.go

5
filter/Security.go

@ -8,11 +8,8 @@ import (
var FilterAdmin = func(ctx *context.Context) {
url := ctx.Input.URI()
refer := ctx.Input.Refer()
site := ctx.Input.Site()
logs.Info(url)
logs.Info(site)
logs.Info(site + url)
if site+url == refer {
if "https://www.aiprose.com"+url == refer {
ctx.Input.SetData("refresh", true)
}
//beego.Informational(url)

Loading…
Cancel
Save