|
@@ -54,10 +54,6 @@ func (s *Search) Site() error {
|
|
|
|
|
|
func (s *Search) MainSearch() error {
|
|
func (s *Search) MainSearch() error {
|
|
if userId, _ := s.GetSession("userId").(string); userId == "" {
|
|
if userId, _ := s.GetSession("userId").(string); userId == "" {
|
|
- //禁用页面缓存
|
|
|
|
- s.ResponseWriter.Header().Set("Cache-Control", "no-cache,no-store,must-revalidate")
|
|
|
|
- s.ResponseWriter.Header().Set("Prama", "no-cache")
|
|
|
|
- s.ResponseWriter.Header().Set("Expires", "0")
|
|
|
|
return s.Redirect("/jyapp/tags/home/home.html")
|
|
return s.Redirect("/jyapp/tags/home/home.html")
|
|
}
|
|
}
|
|
return s.Redirect("/jy_mobile/tabbar/home")
|
|
return s.Redirect("/jy_mobile/tabbar/home")
|