|
@@ -137,6 +137,9 @@ func (this *WechatCommonController) WechatLoginByGzh() {
|
|
|
CreatePlatform: 12, //注册平台,1:日度点评公众号,2:管理后台,3:pc端网站,4:查研观向小程序;默认:1
|
|
|
SessionKey: wxUserInfo.SessionKey, //微信小程序会话密钥,最大长度:255
|
|
|
}
|
|
|
+ if user != nil {
|
|
|
+ userRecord.UserId = user.UserId
|
|
|
+ }
|
|
|
if mfyxUserRecord == nil {
|
|
|
_, err = models.AddMfyxGzhUserRecord(items)
|
|
|
if err != nil {
|