|
@@ -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)
|
|
|
}
|
|
|
}
|