func (this *InformationController) Enter() { news := models.News{} allPage := math.Ceil(float64(news.Count()) / 15) this.Data["allpage"] = allPage this.TplNames = "information/jinru.html" }