Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TtcdwClassRoom ¶
type TtcdwClassRoom struct { Name string //名称 Title string //是必修还是选修等 ItemId string //itemId SegmentId string }
func PullClassRoomAction ¶
func PullClassRoomAction(cache *ttcdw.TtcdwUserCache, project TtcdwProject) ([]TtcdwClassRoom, error)
拉取所有ClassRoom
type TtcdwCourse ¶
type TtcdwCourse struct { CourseId string Name string Progress float32 //进度 Duration int //总时长 OriginalId string //originalID TotalStudyProgress float32 // 已学习的时长 CompanyCode string //公司对应代码编号 MD5 string //对应md5值 ShortCourseId string //课程短ID UserId string //用户ID }
func PullCourseAction ¶
func PullCourseAction(cache *ttcdw.TtcdwUserCache, class TtcdwClassRoom) ([]TtcdwCourse, error)
拉取所有课程
type TtcdwProject ¶
type TtcdwProject struct { CourseProjectId string //工程ID ClassId string //班级ID Name string //工程名称 OrgId string //不知道啥用的ID // contains filtered or unexported fields }
func PullProjectAction ¶
func PullProjectAction(cache *ttcdw.TtcdwUserCache) ([]TtcdwProject, error)
拉取项目
type TtcdwVideo ¶
type TtcdwVideo struct { }
func PullVideoAction ¶
func PullVideoAction(cache *ttcdw.TtcdwUserCache) ([]TtcdwVideo, error)
Click to show internal directories.
Click to hide internal directories.