service

package
v0.0.0-...-eb03f1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InvalidScoreValue   = -10.00 // 无法识别的成绩
	AbsentScoreValue    = -1.00  // 缺考
	CheatingScoreValue  = -2.00  // 作弊
	ExcellentScoreValue = 90.00  // 优秀
	GoodScoreValue      = 80.00  // 良好
	MediumScoreValue    = 68.00  // 中等
	PassScoreValue      = 60.00  // 及格/合格
	FailScoreValue      = 0.00   // 不及格/不合格
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AcademicService

type AcademicService struct {
	// contains filtered or unexported fields
}

func NewAcademicService

func NewAcademicService(ctx context.Context, clientset *base.ClientSet, taskQueue taskqueue.TaskQueue) *AcademicService

func (*AcademicService) GetCredit

func (s *AcademicService) GetCredit() ([]*jwch.CreditStatistics, error)

func (*AcademicService) GetCreditV2

func (s *AcademicService) GetCreditV2() (*pack.CreditResponse, error)

GetCreditV2 获取V2版本的学分统计

func (*AcademicService) GetGPA

func (s *AcademicService) GetGPA() (*jwch.GPABean, error)

func (*AcademicService) GetPlan

func (s *AcademicService) GetPlan() (string, error)

func (*AcademicService) GetScores

func (s *AcademicService) GetScores(loginData *loginmodel.LoginData) ([]*jwch.Mark, error)

func (*AcademicService) GetScoresYjsy

func (s *AcademicService) GetScoresYjsy(loginData *loginmodel.LoginData) ([]*yjsy.Mark, error)

func (*AcademicService) GetUnifiedExam

func (s *AcademicService) GetUnifiedExam() ([]*jwch.UnifiedExam, error)

func (*AcademicService) UpdateCourseTeacherScores

func (s *AcademicService) UpdateCourseTeacherScores() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址