|
|
@@ -14,11 +14,12 @@ type LearningLearningRecord internal.LearningLearningRecord
|
|
|
|
|
|
// Fill with you ideas below.
|
|
|
type LearningLearningRecordListReq struct {
|
|
|
- Page *model.Page `json:"page"`
|
|
|
- OrderBy *model.OrderBy `json:"orderBy"`
|
|
|
- UserId int `json:"userId"` // 用户 Id
|
|
|
- MaterialId int `json:"materialId"` // 资料 Id
|
|
|
- Status int `json:"status"` // 状态 1 已学习
|
|
|
+ Page *model.Page `json:"page"`
|
|
|
+ OrderBy *model.OrderBy `json:"orderBy"`
|
|
|
+ UserId int `json:"userId"` // 用户 Id
|
|
|
+ MaterialId int `json:"materialId"` // 资料 Id
|
|
|
+ Status int `json:"status"` // 状态 1 已学习
|
|
|
+ MaterialType int `json:"materialType"` // 资料类型 1 资料 2 视频
|
|
|
}
|
|
|
|
|
|
type LearningLearningRecordGetRsp struct {
|
|
|
@@ -26,6 +27,7 @@ type LearningLearningRecordGetRsp struct {
|
|
|
UserName string `json:"userName"` // 用户名称
|
|
|
SkillName string `json:"skillName"` // 技能名称
|
|
|
MaterialName string `json:"materialName"` // 资料名称
|
|
|
+ MaterialType int `json:"materialType"` // 资料类型 1 资料 2 视频
|
|
|
}
|
|
|
|
|
|
type LearningLearningRecordAddReq struct {
|