wangchuanjin 2 жил өмнө
parent
commit
21ead63240

+ 2 - 0
src/jfw/front/shorturl.go

@@ -63,8 +63,10 @@ func (s *Short) Article(stype, id string) error {
 		sids := encrypt.CommonDecodeArticle(stype, id)
 		return s.NologinCommon("", stype, id, sids[0])
 	} else if userId == "" {
+		log.Println("---------------------1")
 		return s.Redirect("/notin/page")
 	}
+	log.Println("---------------------3")
 	return s.LoginCommon(userId, stype, id)
 }