|
@@ -1212,9 +1212,9 @@ func (s *Short) NologinArticle(stype, id string) error {
|
|
s.Redirect("/notin/page", 302)
|
|
s.Redirect("/notin/page", 302)
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
- //if userId != "" { //已登录用户直接跳转至正常三级页
|
|
|
|
- // return s.LoginCommon(sess, stype, id, mobileReg.MatchString(s.Header("User-Agent"))) //是否是移动端
|
|
|
|
- //}
|
|
|
|
|
|
+ if userId != "" { //已登录用户直接跳转至正常三级页
|
|
|
|
+ return s.LoginCommon(sess, stype, id, mobileReg.MatchString(s.Header("User-Agent"))) //是否是移动端
|
|
|
|
+ }
|
|
if detailNeedMosaic == nil {
|
|
if detailNeedMosaic == nil {
|
|
detailNeedMosaic, _ = config.Sysconfig["detailNeedMosaic"].(map[string]interface{})
|
|
detailNeedMosaic, _ = config.Sysconfig["detailNeedMosaic"].(map[string]interface{})
|
|
}
|
|
}
|