Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f105939c1 | |||
| dc3b4e0304 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
||||
.idea
|
||||
sdu-auto-evaluation.exe
|
||||
|
||||
2
main.go
2
main.go
@@ -53,7 +53,7 @@ func main() {
|
||||
panic(err)
|
||||
}
|
||||
html, _ = io.ReadAll(res.Body)
|
||||
if !strings.Contains(string(html), "强智科技教务系统欢迎") {
|
||||
if !strings.Contains(string(html), "强智科技教务系统欢迎") && !strings.Contains(string(html), "进入选课") {
|
||||
fmt.Println("用户名或密码错误")
|
||||
return
|
||||
}
|
||||
|
||||
BIN
sdu-auto-evaluation.exe
Normal file
BIN
sdu-auto-evaluation.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user