Skip to content

Commit 2eb0a23

Browse files
committed
feat(微信登录): 添加获取微信授权信息的日志输出
在授权后增加获取授权信息并输出日志,便于调试授权流程
1 parent dca4b8e commit 2eb0a23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtime/WeChatLoginManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ public void Login(Action<WeChatLoginSuccess> loginSuccess, Action<int> loginFail
136136
return;
137137
#endif
138138
_shareSDK.Authorize(PlatformType.WeChat);
139+
var authInfo = _shareSDK.GetAuthInfo(PlatformType.WeChat);
140+
Log.Debug(authInfo);
139141
}
140142

141143
[UnityEngine.Scripting.Preserve]

0 commit comments

Comments
 (0)