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

今天签到又报错了 #36

Open
huqichun opened this issue Aug 16, 2021 · 2 comments
Open

今天签到又报错了 #36

huqichun opened this issue Aug 16, 2021 · 2 comments
Labels
fixed the problem fixed the problem

Comments

@huqichun
Copy link

huqichun commented Aug 16, 2021

【每日签到】: 错误,原因为: local variable 'qd' referenced before assignment

@hwkxk
Copy link
Owner

hwkxk commented Aug 17, 2021

我这边一直正常,未动过接口API,签到未出错过,如果部署到云,请把定时触发时间挪到早上8点后(可能是时区判断问题),而不是凌晨时间。

@huqichun
Copy link
Author

我这边一直正常,未动过接口API,签到未出错过,如果部署到云,请把定时触发时间挪到早上8点后(可能是时区判断问题),而不是凌晨时间。

谢谢大佬的回答,查日志,确实是时间问题(早上7:20云函数的时间23:16,报错) ,百度后,好像设置云函数变量TZ为Asia/Shanghai可以解决时间问题

@hwkxk hwkxk added the fixed the problem fixed the problem label Aug 19, 2021
@hwkxk hwkxk mentioned this issue Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed the problem fixed the problem
Projects
None yet
Development

No branches or pull requests

2 participants