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