Browse Source

feat:删除日志

wangshan 2 years ago
parent
commit
ba60d60ac5
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/jfw/front/shorturl.go

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

@@ -90,8 +90,6 @@ func (s *Short) Article(stype, id string) error {
 	userId, _ := s.GetSession("userId").(string)
 	//未登录用户是否访问的微信浏览器
 	if userId == "" {
-		log.Println(isWxB, "----IsWxBrowserContent[stype]:", IsWxBrowserContent[stype])
-		log.Println(s.Request.Host, "----host:", s.Request.RequestURI)
 		if IsWxBrowserContent[stype] {
 			if s.GetString("state") == "wx" {
 				//微信跳回来的
@@ -107,7 +105,6 @@ func (s *Short) Article(stype, id string) error {
 					}
 				}
 			} else if isWxB {
-				log.Println("url:", fmt.Sprintf(config.Wxoauth, url.QueryEscape(s.Site()+s.Url()), "wx"))
 				//所有参数都不再使用,跳到微信验证用户
 				return s.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(s.Site()+s.Url()), "wx"), 302)
 			}