|
@@ -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)
|
|
|
}
|
|
|
}
|