Skip to content

添加了自动重登录定时器(Implement auto relogin feature with timer)#4

Open
RiceXi wants to merge 1 commit into
Ltfjx:mainfrom
RiceXi:patch-2
Open

添加了自动重登录定时器(Implement auto relogin feature with timer)#4
RiceXi wants to merge 1 commit into
Ltfjx:mainfrom
RiceXi:patch-2

Conversation

@RiceXi

@RiceXi RiceXi commented Jun 18, 2026

Copy link
Copy Markdown

添加了自动重登录定时器以防止因登陆过期失效而影响程序运行——无法正常提交选课申请(Added auto relogin functionality with a timer that triggers every 2 hours.)

添加了自动重登录定时器以防止因登陆过期失效而影响程序运行——无法正常提交选课申请(Added auto relogin functionality with a timer that triggers every 2 hours.)
@Ltfjx

Ltfjx commented Jun 19, 2026

Copy link
Copy Markdown
Owner

感谢贡献,主要有两个问题。
第一个是把重登逻辑写在请求结果检测里更合适;
第二个是如果用户在填写了用户名密码后没有刷新网站,那么重新登录还是会用老的用户名密码来进行,这一点不符合预期。
另外,其实我在之前的使用过程中没有遇到过登录失效的情况,所以我当时才没有写重新登录的逻辑。总而言之这个功能目前还需要更多考量,如果还有其他想法的话,欢迎提出。

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