Web interface

This commit is contained in:
刘河
2019-03-31 21:13:01 +08:00
parent d69ce38604
commit f56b9ea883
4 changed files with 25 additions and 20 deletions

View File

@@ -44,6 +44,7 @@ func (s *BaseController) Prepare() {
s.Data["isAdmin"] = true
}
s.Data["https_just_proxy"], _ = beego.AppConfig.Bool("https_just_proxy")
s.Data["allow_user_login"], _ = beego.AppConfig.Bool("allow_user_login")
}
//加载模板