|
@@ -62,6 +62,8 @@ func (s *Short) Article(stype, id string) error {
|
|
|
if stype == "content" && userId == "" && seoAgentReg.MatchString(s.UserAgent()) {
|
|
|
sids := encrypt.CommonDecodeArticle(stype, id)
|
|
|
return s.NologinCommon("", stype, id, sids[0])
|
|
|
+ } else if userId == "" {
|
|
|
+ return s.Redirect("/notin/page")
|
|
|
}
|
|
|
return s.LoginCommon(userId, stype, id)
|
|
|
}
|