Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

{'msg': 'login failed! 网页中没有找到casLoginForm,请联系开发者!!!', 'code': 1, 'cookies': None} #29

Open
GuiKang0424 opened this issue Dec 29, 2020 · 3 comments

Comments

@GuiKang0424
Copy link

兄弟们,咋解决

@GuiKang0424
Copy link
Author

已三连,求放过

@SopmmmodII
Copy link

兄弟们,咋解决

错误原因是有一个表单的id从casLoginForm改成了fm1,https://github.com/ZimoLoveShuang/wisedu-unified-login-api 这个项目里wisedu-unified-login-api-master\src\main\java\wiki\zimo\wiseduunifiedloginapi\process\CasLoginProcess.java 58行改成

// 获取登陆表单
 Element form = doc.getElementById("fm1");

然后再打包发布运行应该就行了

@GuiKang0424
Copy link
Author

兄弟 我这没用https://github.com/ZimoLoveShuang/wisedu-unified-login-api 这个程序 直接用的 自动打开程序,方便说下怎么修改自动打卡程序吗

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants