fuwencai vor 1 Jahr
Ursprung
Commit
6b075c8ffa
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      src/jfw/front/shorturl.go

+ 3 - 3
src/jfw/front/shorturl.go

@@ -85,9 +85,9 @@ var (
 	}
 	PageTypeCheck = map[string]bool{
 		"content":         false,
-		"entservice":      true,
+		"entservice":      false,
 		"bdprivate":       true,
-		"mailprivate":     true,
+		"mailprivate":     false,
 		"bdcontent":       false,
 		"indexcontent":    true, //老首页 seo入口 供爬虫使用
 		"advancedProject": false,
@@ -166,7 +166,7 @@ func (s *Short) LoginCommon(sess map[string]interface{}, stype, id string, bm bo
 			return s.Redirect(fmt.Sprintf("%s%s%s", config.Sysconfig["workDesktopUrl"].(string), config.Sysconfig["webdomain"].(string), url.QueryEscape(strings.Replace(s.Request.URL.String(), "inWorkDesktop=1", "inWorkDesktop=0", 1))))
 		}
 		//P406登录用户标讯详情页改版
-		if userId != "" || PageTypeCheck[stype] {
+		if userId != "" {
 			s.T["title"], s.T["keywords"], s.T["description"] = GetTDK(stype, encrypt.CommonDecodeArticle(stype, id)[0])
 			return s.Render("/pc/detail/biddetail_login.html", &s.T)
 		}