Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CLASS_TIME = [][2][2]int{
{{0, 0}, {23, 59}},
{{8, 20}, {9, 5}},
{{9, 15}, {10, 0}},
{{10, 20}, {11, 5}},
{{11, 15}, {12, 0}},
{{14, 0}, {14, 45}},
{{14, 55}, {15, 40}},
{{15, 50}, {16, 35}},
{{16, 45}, {17, 30}},
{{19, 0}, {19, 45}},
{{19, 55}, {20, 40}},
{{20, 50}, {21, 35}},
}
作息时间
Functions ¶
This section is empty.
Types ¶
type CourseService ¶
type CourseService struct {
// contains filtered or unexported fields
}
func NewCourseService ¶
func (*CourseService) GetCalendar ¶
func (s *CourseService) GetCalendar(req *course.GetCalendarRequest) (string, error)
func (*CourseService) GetCourseList ¶
func (s *CourseService) GetCourseList(req *course.CourseListRequest) ([]*jwch.Course, error)
func (*CourseService) GetTermsList ¶
func (s *CourseService) GetTermsList(req *course.TermListRequest) ([]string, error)
GetTermsList 会返回当前用户含有课表的学期信息
Click to show internal directories.
Click to hide internal directories.