WH01243 4 сар өмнө
parent
commit
4debb605c5

+ 2 - 2
src/jfw/front/singleLogin.go

@@ -51,7 +51,7 @@ func (this *SingleLogin) VipGiftUrl(key string) error {
 	sess := this.Session().GetMultiple()
 	userId, _ := sess["userId"].(string)
 	openid := ""
-	fmt.Println("1111", key, chatIdInt, isWxB, userId, this.GetString("state"))
+	log.Println("1111", key, chatIdInt, isWxB, userId, this.GetString("state"))
 	if isWxB && userId == "" {
 		if this.GetString("state") == "wx" {
 			//微信跳回来的
@@ -69,7 +69,7 @@ func (this *SingleLogin) VipGiftUrl(key string) error {
 			log.Println(fmt.Sprintf(config.Wxoauth, url.QueryEscape(this.Site()+this.Url()), "wx"))
 			return this.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(this.Site()+this.Url()), "wx"), 302)
 		}
-	}
+	}CD
 	if key != "" && chatIdInt > 0 {
 		openid = qutil.InterfaceToStr(this.GetSession("s_m_openid"))
 		//查看是否关注公众号