|
|
@@ -84,8 +84,9 @@ func (self *PermitController) XcxAuthorize() {
|
|
|
sessionKey, _ := self.GetSession(apps.XcxSessionKey).(string)
|
|
|
beego.BeeLogger.Warn("sessionKey:%s", sessionKey)
|
|
|
type EncryptedData struct {
|
|
|
- UnionId string `json:"unionId"`
|
|
|
- OpenId string `json:"openId"`
|
|
|
+ UnionId string `json:"unionId"`
|
|
|
+ OpenId string `json:"openId"`
|
|
|
+ NickName string `json:"nickName"`
|
|
|
}
|
|
|
|
|
|
if sessionKey == "" {
|