Skip to content

Commit 1b3d836

Browse files
committed
update: 优化AI答题并适配学习通连线题
1 parent 670630e commit 1b3d836

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
tag_name:
1010
description: 'Tag name for the release'
1111
required: true
12-
default: 'v2.5.9-Beta.18'
12+
default: 'v2.6.0-Beta.1'
1313

1414
permissions:
1515
contents: write
@@ -22,7 +22,7 @@ env:
2222
VERSION: ${{ github.ref_name }}
2323
RELEASE_DIR: release
2424
RELEASE_NOTICES: |
25-
- [👏] 优化AI答题并适配学习通连线题
25+
- [👏] 优化适配题库答题
2626
2727
2828
学习通用户注意:

config/logo.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
: \ \; : .' \ | , / `----' ---' ; : ;
1414
\ ' ;| , .-./ ---`-' | , /
1515
`--` `--`---' ---`-'
16-
Yatori-go-console v2.5.9-Beta.18
16+
Yatori-go-console v2.6.0-Beta.1
1717
仅用于学习交流,请勿用于违法和商业用途!!!
1818
GitHub开源地址:https://github.com/yatori-dev/yatori-go-console
1919
个人博客:https://blogs.changbaiqi.top

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require (
1515
)
1616

1717
require (
18-
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251031124100-6098e9afeb44 //1.9.6.1
18+
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251102115002-1bc56082916b //1.9.6.2
1919
golang.org/x/sys v0.31.0
2020
gopkg.in/yaml.v3 v3.0.1
2121
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ github.com/yatori-dev/yatori-go-core v1.9.1-0.20251024062700-c0f498bed500 h1:T6X
9191
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251024062700-c0f498bed500/go.mod h1:SBKAVIoICrC4JIoDIXvYX58FhfNC4itIhbGeCZf8Yp8=
9292
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251031124100-6098e9afeb44 h1:TB4mYFD0fx7/hC7BSkqDPBBAs5KYcK5toR2f+GXnKOk=
9393
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251031124100-6098e9afeb44/go.mod h1:SBKAVIoICrC4JIoDIXvYX58FhfNC4itIhbGeCZf8Yp8=
94+
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251102115002-1bc56082916b h1:2vXj+8CpD+1Nl3Vx3g0v6NwXHUPjBY3Ykztzsh4er7o=
95+
github.com/yatori-dev/yatori-go-core v1.9.1-0.20251102115002-1bc56082916b/go.mod h1:SBKAVIoICrC4JIoDIXvYX58FhfNC4itIhbGeCZf8Yp8=
9496
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
9597
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
9698
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=

logic/xuexitong/XueXiTongPart.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func nodeRun(setting config.Setting, user *config.Users, userCache *xuexitongApi
335335
os.Exit(0)
336336
}
337337
} else if user.CoursesCustom.AutoExam == 2 { // 检测外挂题库可用性
338-
err2 := external.CheckApiQueRequest(setting.ApiQueSetting.Url, 3, nil)
338+
err2 := external.CheckApiQueRequest(setting.ApiQueSetting.Url, 5, nil)
339339
if err2 != nil {
340340
lg.Print(lg.INFO, lg.BoldRed, "外挂题库不可用,错误信息:"+err2.Error())
341341
os.Exit(0)
@@ -430,7 +430,7 @@ func nodeRun(setting config.Setting, user *config.Users, userCache *xuexitongApi
430430
os.Exit(0)
431431
}
432432
} else if user.CoursesCustom.AutoExam == 2 { // 检测外挂题库可用性
433-
err2 := external.CheckApiQueRequest(setting.ApiQueSetting.Url, 3, nil)
433+
err2 := external.CheckApiQueRequest(setting.ApiQueSetting.Url, 5, nil)
434434
if err2 != nil {
435435
lg.Print(lg.INFO, lg.BoldRed, "外挂题库不可用,错误信息:"+err2.Error())
436436
os.Exit(0)

0 commit comments

Comments
 (0)