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: change startDate to the first day of this month, endDate to the current date #35

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

Conversation

vectorsss
Copy link

修改api余额查询,开始日期为当前月第一天,结束日期为当天

@Kerwin1202
Copy link
Member

修改api余额查询,开始日期为当前月第一天,结束日期为当天

这要另外加一个属性吧, 目前的余额 是总数 - 免费额度时效3个月 得到的余额, 你减去当月的,那上个月的,上上个月还没减去 这剩余有问题了。 或者可以加一个当月使用额度

@vectorsss
Copy link
Author

好哒,我是昨天发现我自己的余额(我的体验额度已经用完了,现在是按月付费)统计的不准才改的。

@Kerwin1202
Copy link
Member

倒是没考虑倒这种情况,我目前用量较少没用完。如果后续是按月可以给个选项切换下

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.

2 participants