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

gocron支持自动登录吗 #386

Open
FireLv opened this issue Mar 14, 2024 · 2 comments
Open

gocron支持自动登录吗 #386

FireLv opened this issue Mar 14, 2024 · 2 comments

Comments

@FireLv
Copy link

FireLv commented Mar 14, 2024

gocron有什么配置支持 自动登录

目前需要实现 系统x,集成gocron页面

系统x单击菜单,给gocron传入用户名和密码,跳转gocron,无需二次登录

@light6607
Copy link

这种可以直接js实现吧,读取页面的参数,输入到dom元素中,然后自动登录
window.onload = function (){
document.querySelector("#login").click()
}

@FireLv
Copy link
Author

FireLv commented Mar 15, 2024

这种可以直接js实现吧,读取页面的参数,输入到dom元素中,然后自动登录 window.onload = function (){ document.querySelector("#login").click() }

不是gocron页面内的自动登录,是 通过链接给gocron传参数,实现gocron自动登录,避免系统嵌入,出现二次登录

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

No branches or pull requests

2 participants