Documentation
¶
Index ¶
- Constants
- type AcademicService
- func (s *AcademicService) GetCredit() ([]*jwch.CreditStatistics, error)
- func (s *AcademicService) GetCreditV2() (*pack.CreditResponse, error)
- func (s *AcademicService) GetGPA() (*jwch.GPABean, error)
- func (s *AcademicService) GetPlan() (string, error)
- func (s *AcademicService) GetScores(loginData *loginmodel.LoginData) ([]*jwch.Mark, error)
- func (s *AcademicService) GetScoresYjsy(loginData *loginmodel.LoginData) ([]*yjsy.Mark, error)
- func (s *AcademicService) GetUnifiedExam() ([]*jwch.UnifiedExam, error)
- func (s *AcademicService) UpdateCourseTeacherScores() error
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 (*AcademicService) GetCredit ¶
func (s *AcademicService) GetCredit() ([]*jwch.CreditStatistics, error)
func (*AcademicService) GetCreditV2 ¶
func (s *AcademicService) GetCreditV2() (*pack.CreditResponse, error)
GetCreditV2 获取V2版本的学分统计
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
Click to show internal directories.
Click to hide internal directories.