Skip to content

Commit

Permalink
fix: jwch update (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
FantasyRL authored Feb 26, 2025
1 parent 7b11265 commit b02a1b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ require (
github.com/segmentio/kafka-go v0.4.47
github.com/spf13/viper v1.19.0
github.com/upyun/go-sdk/v3 v3.0.4
github.com/west2-online/jwch v0.2.12
github.com/west2-online/jwch v0.2.13
gorm.io/driver/mysql v1.5.7
gorm.io/gorm v1.25.12
k8s.io/client-go v0.32.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ github.com/upyun/go-sdk/v3 v3.0.4 h1:2DCJa/Yi7/3ZybT9UCPATSzvU3wpPPxhXinNlb1Hi8Q
github.com/upyun/go-sdk/v3 v3.0.4/go.mod h1:P/SnuuwhrIgAVRd/ZpzDWqCsBAf/oHg7UggbAxyZa0E=
github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/west2-online/jwch v0.2.12 h1:dx9nNvmNTy023HjeP+YJZVK+58TFfCNC9kSvk85Vwbo=
github.com/west2-online/jwch v0.2.12/go.mod h1:WI6YUgXuLMt+5A1X4HKuxhZRzhxRvxNyXT4BQzeAr9s=
github.com/west2-online/jwch v0.2.13 h1:U0oDpNll4KnlRlL4Q2jSjKHTLhWBpZIIaXO5rqCkB14=
github.com/west2-online/jwch v0.2.13/go.mod h1:WI6YUgXuLMt+5A1X4HKuxhZRzhxRvxNyXT4BQzeAr9s=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI=
github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY=
Expand Down
2 changes: 1 addition & 1 deletion internal/academic/service/get_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (s *AcademicService) GetPlan() (string, error) {
stu := jwch.NewStudent().WithLoginData(userHeader.Id, utils.ParseCookies(userHeader.Cookies))
url, err := stu.GetCultivatePlan()
if err != nil {
return "", errno.Errorf(errno.InternalServiceErrorCode, "AcademicService.GetPlan error:%v", err)
return "", errno.Errorf(errno.BizJwchCookieExceptionCode, "AcademicService.GetPlan error:%v", err)
}

/*
Expand Down

0 comments on commit b02a1b8

Please sign in to comment.