Compare commits

2 Commits
1.0 ... master

Author SHA1 Message Date
9f105939c1 fix 2021-12-24 16:07:21 +08:00
dc3b4e0304 add executable file 2021-12-22 22:32:37 +08:00
3 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,2 +1 @@
.idea .idea
sdu-auto-evaluation.exe

View File

@@ -53,7 +53,7 @@ func main() {
panic(err) panic(err)
} }
html, _ = io.ReadAll(res.Body) html, _ = io.ReadAll(res.Body)
if !strings.Contains(string(html), "强智科技教务系统欢迎") { if !strings.Contains(string(html), "强智科技教务系统欢迎") && !strings.Contains(string(html), "进入选课") {
fmt.Println("用户名或密码错误") fmt.Println("用户名或密码错误")
return return
} }

BIN
sdu-auto-evaluation.exe Normal file

Binary file not shown.