|
@@ -72,7 +72,6 @@ func (this *OrgStructure) InvitationPage() error {
|
|
|
openId := util.ObjToString(this.Session().Get("s_m_openid"))
|
|
|
phone := util.ObjToString(this.Session().Get("phone"))
|
|
|
isSubscribe := false //是否关注
|
|
|
- log.Println("openid:::::::::", openId)
|
|
|
if userId == "" {
|
|
|
if this.GetString("state") == "wx" {
|
|
|
//微信跳回来的
|
|
@@ -85,7 +84,6 @@ func (this *OrgStructure) InvitationPage() error {
|
|
|
return this.Redirect(fmt.Sprintf(config.Wxoauth, url.QueryEscape(this.Site()+this.Url()), "wx"), 302)
|
|
|
}
|
|
|
}
|
|
|
- log.Println("openid----------", openId)
|
|
|
if openId != "" {
|
|
|
isSubscribe = CheckUserIsSubscribe(openId)
|
|
|
if isSubscribe {
|