Skip to content

Conversation

@johnnyee
Copy link
Contributor

Summary

  • 按剩余天数升序排序订阅列表
  • 快过期的套餐排在前面,方便用户关注即将到期的订阅

效果对比

排序前(无序):

PLUS 可重置2次 53天 | PLUS 可重置1次 27天 | FREE 可重置2次 28天

排序后(按剩余天数升序):

PLUS 可重置1次 27天 | FREE 可重置2次 28天 | PLUS 可重置2次 53天

Test plan

  • 本地编译通过 (cargo build --release)
  • 本地测试排序效果正确

🤖 Generated with Claude Code

johnnyee and others added 3 commits December 10, 2025 15:04
快过期的套餐排在前面,方便用户关注即将到期的订阅。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@zcg zcg merged commit 585cfe4 into byebye-code:main Dec 10, 2025
4 checks passed
johnnyee added a commit to johnnyee/byebyecode that referenced this pull request Dec 10, 2025
@johnnyee johnnyee deleted the feature/sort-subscriptions-by-remaining-days branch December 10, 2025 07:51
johnnyee added a commit to johnnyee/byebyecode that referenced this pull request Dec 10, 2025
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