Bladeren bron

修改路径

layui
yirenyishi 6 jaren geleden
bovenliggende
commit
ce8f0256a1
  1. 2
      controllers/BlogController.go

2
controllers/BlogController.go

@ -158,7 +158,7 @@ func (this *BlogController) Del() {
func (this *BlogController) New() {
uid := this.GetSession("userid")
if uid == nil {
this.Redirect("login.html", 302)
this.Redirect("/login", 302)
return
}
this.TplName = "newblog.html"

Laden…
Annuleren
Opslaan