zhangxinlei1996 4 lat temu
rodzic
commit
ffdbded5b0
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/jfw/front/pcIndex.go

+ 2 - 1
src/jfw/front/pcIndex.go

@@ -61,6 +61,7 @@ func (m *PcIndex) NewSordfish() error {
 			m.T["live_Preheat_Start"] = config.ActiveConfig.Live_Preheat_Start
 			m.T["live_Active_End"] = config.ActiveConfig.Live_Active_End
 			content, _ := m.Render4Cache("/pc/index.html", &m.T)
+			// content, _ := m.Render4Cache("/frontRouter/pc/squeeze/sess/test.html", &m.T)
 			redis.Put("other", "jypcindex", string(content), 60*60*2)
 			return m.SetBody(content)
 		}
@@ -149,7 +150,7 @@ func (p *PcIndex) NewArticle() {
 					delete(v, "toptype")
 					delete(v, "s_subscopeclass")
 				}
-				list := *lists
+				list = *lists
 				redis.Put("other", rediskey, list, 2*60*60)
 			}
 		}