浏览代码

feat:日志

wangshan 2 年之前
父节点
当前提交
36de137c82
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/jfw/front/shorturl.go

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

@@ -107,6 +107,7 @@ func (s *Short) Article(stype, id string) error {
 			} else if isWxB {
 				//所有参数都不再使用,跳到微信验证用户
 				//return s.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(s.Site()+s.Url()), "wx"), 302)
+				log.Println("+++++++:", fmt.Sprintf(config.Wxoauth, url.QueryEscape(config.Sysconfig["webdomain"].(string)+s.Url()), "wx"))
 				return s.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(config.Sysconfig["webdomain"].(string)+s.Url()), "wx"), 302)
 			}
 		}