Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

二维码登陆报错 #21

Closed
CHKZL opened this issue May 2, 2020 · 3 comments · Fixed by #22
Closed

二维码登陆报错 #21

CHKZL opened this issue May 2, 2020 · 3 comments · Fixed by #22
Assignees
Labels
bug Something isn't working
Projects

Comments

@CHKZL
Copy link

CHKZL commented May 2, 2020

调用ByQRCode.LoginByQrCode()会出现“Unable to cast object of type 'System.Int64' to type 'System.Int32”的提示

在新建的空白core3.1控制台程序中也是如此
H J(9FI%U %7$ZES~A}PO

@LeoChen98 LeoChen98 self-assigned this May 3, 2020
@LeoChen98 LeoChen98 added the bug Something isn't working label May 3, 2020
@LeoChen98
Copy link
Owner

使用的版本号?最新版的我这里测试没有出现任何错误。。。

@CHKZL
Copy link
Author

CHKZL commented May 3, 2020

通过nuget安装的2.3.4.18
在新新建的.net framework 4.7.2控制台项目和.net core3.1控制台中使用同样的代码测试,确实只有core会出现这个错误,在.net4.7.2中正常运行

image

@LeoChen98 LeoChen98 mentioned this issue May 3, 2020
@LeoChen98
Copy link
Owner

已定位错误为core中转换数字为long而非int,已在2.3.5.19解决。

@LeoChen98 LeoChen98 added this to To do in development via automation May 3, 2020
@LeoChen98 LeoChen98 moved this from To do to Done in development May 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
development
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants