Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45c138a

Browse files
committed
bugfix
1 parent edf9009 commit 45c138a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logic/wechat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (self WechatLogic) Bind(ctx context.Context, id, uid int, userInfo string)
8383
Uid: uid,
8484
Nickname: result.Get("nickName").String(),
8585
Avatar: result.Get("avatarUrl").String(),
86-
Openid: userInfo,
86+
OpenInfo: userInfo,
8787
}
8888
_, err := MasterDB.Id(id).Update(wechatUser)
8989
if err != nil {

0 commit comments

Comments
 (0)