瀏覽代碼

special depart add 29

abiao 4 年之前
父節點
當前提交
f9150c0da4

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/permit_controller/permit_controller.go

@@ -272,7 +272,7 @@ func (self *PermitController) XcxLogin() {
 	}
 	beego.BeeLogger.Warn("XcxLogin key=%s", key)
 	beego.BeeLogger.Warn("XcxLogin key=%s, key.Openid=%s", key, key.Openid)
-	beego.BeeLogger.Warn("XcxLogin key=%s, key.Unionid=%s", key, key.UnionId)
+	beego.BeeLogger.Warn("XcxLogin key=%s, key.Unionid=%s", key, key.Unionid)
 
 	wxUser := user_model.GetByOpenid(key.Openid, false)
 	beego.BeeLogger.Warn("XcxLogin key=[%s], key.Openid=[%s], wxUser= [%s]", key, key.Openid, wxUser)

+ 0 - 1
go/gopath/src/fohow.com/libs/wx_mp/xcx.go

@@ -14,7 +14,6 @@ import (
 
 type SessionKey struct {
 	Openid     string `json:"openid"`      //用户唯一标识
-	UnionId    string `json:"unionid"`     //用户唯一标识
 	SessionKey string `json:"session_key"` //会话密钥
 	Unionid    string `json:"unionid"`     //用户在开放平台的唯一标识符。本字段在满足一定条件的情况下才返回。
 }