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

增加用户字段,优化关注页面排序,更新信息 #273

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

vvyoko
Copy link

@vvyoko vvyoko commented Dec 26, 2023

增加了4个字段
special 特别关注
lastWatchTime 最后观看时间
lastPlayTime 最后直播时间
watchSecond 观看时间

最后两个字段有更新信息但是没调用...
最后直播时间可能用于取关一些很久没直播的主播
但由于只是获取直播状态时更新所以可能只是不在用的时间直播
观看时间可能也能用于排序

关注旁边增加了特别关注按键

关注页面排序按照开播状态-特别关注-最后观看时间排序

updateFollowUser更新了名称和头像 (目前主播换了名字和头像不会更新)

增加10秒的定时器更新一些信息

由于基本上靠GPT,所以这里可能有一些问题.
增加了字段不太明白怎么兼容旧版数据
只在导入json时作下判断,直接覆盖安装好像会白屏

更新名称头像部分没有判断是否发生改变是直接更改的,需要手动刷新更新信息

定时器我设置为10秒更新一次数据,不太确定是太快还是太慢

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