把这几行注释

https://github.com/ego008/goyoubbs/blob/master/controller/search.go#L11-L14 2

	if currentUser.Id == 0 {
		http.Redirect(w, r, "/login", http.StatusSeeOther)
		return
	}
youbbs at 2020-05-22 13:38
1
登录 后发表评论