Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelItem ¶
type ChannelItem struct { Cfid int `json:"cfid"` Norder int `json:"norder"` CataName string `json:"cataName"` Cataid string `json:"cataid"` Id int `json:"id"` Cpi int `json:"cpi"` Key any `json:"key"` Content struct { Studentcount int `json:"studentcount"` Chatid string `json:"chatid"` IsFiled int `json:"isFiled"` Isthirdaq int `json:"isthirdaq"` Isstart bool `json:"isstart"` Isretire int `json:"isretire"` Name string `json:"name"` Course struct { Data []struct { BelongSchoolId string `json:"belongSchoolId"` Coursestate int `json:"coursestate"` Teacherfactor string `json:"teacherfactor"` IsCourseSquare int `json:"isCourseSquare"` Schools string `json:"schools"` CourseSquareUrl string `json:"courseSquareUrl"` Imageurl string `json:"imageurl"` AppInfo string `json:"appInfo"` Name string `json:"name"` DefaultShowCatalog int `json:"defaultShowCatalog"` Id int `json:"id"` AppData int `json:"appData"` } `json:"data"` } `json:"course"` Roletype int `json:"roletype"` Id int `json:"id"` State int `json:"state"` Cpi int `json:"cpi"` Bbsid string `json:"bbsid"` IsSquare int `json:"isSquare"` } `json:"content"` Topsign int `json:"topsign"` }
ChannelItem 课程列表
type IAttachment ¶ added in v1.0.6
type PointDocumentDto ¶ added in v1.0.6
type PointDocumentDto struct { CardIndex int CourseID string ClassID string KnowledgeID int Cpi string ObjectID string }
PointDocumentDto 文档查看任务点
type PointDto ¶ added in v1.0.6
type PointDto struct { PointVideoDto PointWorkDto PointDocumentDto }
type PointVideoDto ¶ added in v1.0.6
type PointVideoDto struct { CardIndex int CourseID string ClassID string KnowledgeID int Cpi string ObjectID string FID int DToken string PlayTime int Duration int JobID string OtherInfo string Title string RT float64 Logger *log.Logger PUID string Session *Session Attachment interface{} //视图获取后的原始map // contains filtered or unexported fields }
PointVideoDto 视频任务点
func (*PointVideoDto) AttachmentsDetection ¶ added in v1.0.6
func (p *PointVideoDto) AttachmentsDetection(attachment interface{}) (bool, error)
AttachmentsDetection 使用接口对每种DTO进行检测再次赋值, 以对应后续的刷取请求
type PointWorkDto ¶ added in v1.0.6
type PointWorkDto struct { CardIndex int CourseID string ClassID string KnowledgeID int Cpi string WorkID string SchoolID string JobID string }
PointWorkDto 测验任务点
type UserEntity ¶
type XueXiTCourse ¶
type XueXiTCourse struct { CourseName string //课程名称 ClassId string //classId CourseId string //课程Id Cpi string //不知道是啥玩意,反正需要 PersonId string //个人Id UserId string //UserId }
XueXiTCourse 关键信息过滤截取最终的实体
type XueXiTCourseJson ¶
type XueXiTCourseJson struct { Result int `json:"result"` Msg string `json:"msg"` ChannelList []ChannelItem `json:"channelList"` Mcode string `json:"mcode"` Createcourse int `json:"createcoursed"` TeacherEndCourse int `json:"teacherEndCourse"` ShowEndCourse int `json:"showEndCourse"` HasMore bool `json:"hasMore"` StuEndCourse int `json:"stuEndCourse"` }
XueXiTCourse 课程所有信息
Click to show internal directories.
Click to hide internal directories.