Browse Source

feat:模拟回调

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

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

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