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

fix: 修复用户侧流量明细不显示的问题 #154

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

NishinomiyaAki
Copy link

部署后发现用户侧流量明细始终显示为空,调试发现如下问题并简单进行了修复:

  • now()->startOfMonth()返回的是时间而非时间戳,导致无法获取月初至今的流量明细
  • $uid$userId类型不同,故$uid !== $userId将会始终返回false,导致无法获取当日的流量明细

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant