Documentation ¶
Index ¶
- func LoginApi(cache *EnaeaUserCache) (string, error)
- func PullCourseVideoListApi(cache *EnaeaUserCache, circleId, courseId string) (string, error)
- func PullProjectsApi(cache *EnaeaUserCache) (string, error)
- func PullStudyCourseHTMLApi(cache *EnaeaUserCache, circleId string) (string, error)
- func PullStudyCourseListApi(cache *EnaeaUserCache, circleId, syllabusId string) (string, error)
- func StatisticTicForCCVideApi(cache *EnaeaUserCache, courseId, courseContentId, circleId string) (string, string, string, error)
- func SubmitStudyTimeApi(cache *EnaeaUserCache, circleId, SCFUCKPKey, SCFUCKPValue, id string, ...) (string, error)
- type EnaeaUserCache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PullCourseVideoListApi ¶
func PullCourseVideoListApi(cache *EnaeaUserCache, circleId, courseId string) (string, error)
PullCourseVideoListApi 拉取课程对应视屏列表
func PullProjectsApi ¶
func PullProjectsApi(cache *EnaeaUserCache) (string, error)
ProjectsPull 拉取所有工程
func PullStudyCourseHTMLApi ¶
func PullStudyCourseHTMLApi(cache *EnaeaUserCache, circleId string) (string, error)
获取对应项目的页面的HTML,用于截取侧边栏菜单栏
func PullStudyCourseListApi ¶
func PullStudyCourseListApi(cache *EnaeaUserCache, circleId, syllabusId string) (string, error)
获取对项目课程列表
func StatisticTicForCCVideApi ¶
func StatisticTicForCCVideApi(cache *EnaeaUserCache, courseId, courseContentId, circleId string) (string, string, string, error)
StatisticTicForCCVideApi 在观看视屏前一定要先调用这个函数,相当于告诉后端,我要看这个视屏了,请对这个视屏开始计时
func SubmitStudyTimeApi ¶
func SubmitStudyTimeApi(cache *EnaeaUserCache, circleId, SCFUCKPKey, SCFUCKPValue, id string, studyTime int64) (string, error)
SubmitStudyTimeApi 提交学时
Types ¶
type EnaeaUserCache ¶
Click to show internal directories.
Click to hide internal directories.