Procházet zdrojové kódy

需求文字修改

wangshan před 9 roky
rodič
revize
c8290d3f70
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      core/src/qfw/front/index.go

+ 1 - 1
core/src/qfw/front/index.go

@@ -64,7 +64,7 @@ func (i *Index) LoadIndex() error {
 			"query":       i.GetString("query")}
 		data, pagination := searhWebContent(querymap)
 		content, _ := i.Render4Cache("/index.html", &xweb.T{"data": data, "pagination": pagination})
-		//redis.Put("other", "/", string(content), 0) //设置首页缓存
+		redis.Put("other", "/", string(content), 0) //设置首页缓存
 		return i.SetBody(content)
 	}
 }