瀏覽代碼

feat:cc三级页seo

wangchuanjin 2 年之前
父節點
當前提交
21ead63240
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/jfw/front/shorturl.go

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

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