Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wbi签名时间戳错误 #623

Closed
xiaoyaocz opened this issue May 9, 2024 · 0 comments
Closed

Wbi签名时间戳错误 #623

xiaoyaocz opened this issue May 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working 已完成
Milestone

Comments

@xiaoyaocz
Copy link

Bug 描述

Wbi签名时间戳获取的是本地时间而非UTC时间,可能会导致Wbi签名检验失败

var currentTime = (long)Math.Round(DateTime.Now.Subtract(new DateTime(1970, 1, 1)).TotalSeconds);

DateTime.Now应改为DateTime.UtcNow

操作步骤

期望结果

截图

No response

日志

No response

已定位描述

No response

应用来源

Github/其他Github镜像站

安装方式

No response

其它来源

No response

系统版本

No response

其它系统版本

No response

设备类型

No response

设备架构

No response

应用架构

No response

备注

No response

代码贡献

是,我愿意提交代码

@xiaoyaocz xiaoyaocz added bug Something isn't working 待规划 labels May 9, 2024
@ywmoyue ywmoyue added this to the 待发布4.6.31 milestone May 9, 2024
@ywmoyue ywmoyue mentioned this issue May 19, 2024
@ywmoyue ywmoyue closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 已完成
Projects
None yet
Development

No branches or pull requests

2 participants