lessondata

package
v0.0.0-...-9f28539 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleResourcesService

type ArticleResourcesService struct {
}

func (*ArticleResourcesService) CreateArticleResources

func (articleResourcesService *ArticleResourcesService) CreateArticleResources(articleResources lessondata.ArticleResources) (err error)

CreateArticleResources 创建ArticleResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*ArticleResourcesService) DeleteArticleResources

func (articleResourcesService *ArticleResourcesService) DeleteArticleResources(articleResources lessondata.ArticleResources) (err error)

DeleteArticleResources 删除ArticleResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*ArticleResourcesService) DeleteArticleResourcesByIds

func (articleResourcesService *ArticleResourcesService) DeleteArticleResourcesByIds(ids request.IdsReq) (err error)

DeleteArticleResourcesByIds 批量删除ArticleResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*ArticleResourcesService) GetArticleResources

func (articleResourcesService *ArticleResourcesService) GetArticleResources(id uint) (articleResources lessondata.ArticleResources, err error)

GetArticleResources 根据id获取ArticleResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*ArticleResourcesService) GetArticleResourcesInfoList

func (articleResourcesService *ArticleResourcesService) GetArticleResourcesInfoList(info lessondataReq.ArticleResourcesSearch) (list []lessondata.ArticleResources, total int64, err error)

GetArticleResourcesInfoList 分页获取ArticleResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*ArticleResourcesService) UpdateArticleResources

func (articleResourcesService *ArticleResourcesService) UpdateArticleResources(articleResources lessondata.ArticleResources) (err error)

UpdateArticleResources 更新ArticleResources记录 Author [piexlmax](https://github.com/piexlmax)

type KnowledgeService

type KnowledgeService struct {
}

func (*KnowledgeService) AccessOrCreateByName

func (knowledgeService *KnowledgeService) AccessOrCreateByName(name string, chapterId uint) (uint, error)

AccessOrCreateByName 查询chapter阶段下是否有名称为name的知识点 若有返回知识点ID 若无创建后返回知识点ID

func (*KnowledgeService) CreateKnowledge

func (knowledgeService *KnowledgeService) CreateKnowledge(knowledge lessondata.Knowledge) (err error)

CreateKnowledge 创建Knowledge记录 Author [piexlmax](https://github.com/piexlmax)

func (*KnowledgeService) DeleteKnowledge

func (knowledgeService *KnowledgeService) DeleteKnowledge(knowledge lessondata.Knowledge) (err error)

DeleteKnowledge 删除Knowledge记录 Author [piexlmax](https://github.com/piexlmax)

func (*KnowledgeService) DeleteKnowledgeByIds

func (knowledgeService *KnowledgeService) DeleteKnowledgeByIds(ids request.IdsReq) (err error)

DeleteKnowledgeByIds 批量删除Knowledge记录 Author [piexlmax](https://github.com/piexlmax)

func (*KnowledgeService) GetKnowledge

func (knowledgeService *KnowledgeService) GetKnowledge(id uint) (knowledge lessondata.Knowledge, err error)

GetKnowledge 根据id获取Knowledge记录 Author [piexlmax](https://github.com/piexlmax)

func (*KnowledgeService) GetKnowledgeInfoList

func (knowledgeService *KnowledgeService) GetKnowledgeInfoList(info lessondataReq.KnowledgeSearch) (list []lessondata.Knowledge, total int64, err error)

GetKnowledgeInfoList 分页获取Knowledge记录 Author [piexlmax](https://github.com/piexlmax)

func (*KnowledgeService) UpdateKnowledge

func (knowledgeService *KnowledgeService) UpdateKnowledge(knowledge lessondata.Knowledge) (err error)

UpdateKnowledge 更新Knowledge记录 Author [piexlmax](https://github.com/piexlmax)

type ResourcePracticeService

type ResourcePracticeService struct {
}

func (*ResourcePracticeService) CreateResourcePractice

func (resourcesPracticeService *ResourcePracticeService) CreateResourcePractice(resourcesPractice lessondata.ResourcePractice) (err error)

CreateResourcePractice 创建ResourcePractice记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcePracticeService) DeleteResourcePractice

func (resourcesPracticeService *ResourcePracticeService) DeleteResourcePractice(resourcesPractice lessondata.ResourcePractice) (err error)

DeleteResourcePractice 删除ResourcePractice记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcePracticeService) DeleteResourcePracticeByIds

func (resourcesPracticeService *ResourcePracticeService) DeleteResourcePracticeByIds(ids request.IdsReq) (err error)

DeleteResourcePracticeByIds 批量删除ResourcePractice记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcePracticeService) GetResourcePractice

func (resourcesPracticeService *ResourcePracticeService) GetResourcePractice(id uint) (resourcesPractice lessondata.ResourcePractice, err error)

GetResourcePractice 根据id获取ResourcePractice记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcePracticeService) GetResourcePracticeInfoList

func (resourcesPracticeService *ResourcePracticeService) GetResourcePracticeInfoList(info lessondataReq.ResourcePracticeSearch) (list []lessondata.ResourcePractice, total int64, err error)

GetResourcePracticeInfoList 分页获取ResourcePractice记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcePracticeService) UpdateResourcePractice

func (resourcesPracticeService *ResourcePracticeService) UpdateResourcePractice(resourcesPractice lessondata.ResourcePractice) (err error)

UpdateResourcePractice 更新ResourcePractice记录 Author [piexlmax](https://github.com/piexlmax)

type ResourcesTestService

type ResourcesTestService struct {
}

func (*ResourcesTestService) CreateResourcesTest

func (resourcesTestService *ResourcesTestService) CreateResourcesTest(resourcesTest lessondata.ResourcesTest) (err error)

CreateResourcesTest 创建ResourcesTest记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcesTestService) DeleteResourcesTest

func (resourcesTestService *ResourcesTestService) DeleteResourcesTest(resourcesTest lessondata.ResourcesTest) (err error)

DeleteResourcesTest 删除ResourcesTest记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcesTestService) DeleteResourcesTestByIds

func (resourcesTestService *ResourcesTestService) DeleteResourcesTestByIds(ids request.IdsReq) (err error)

DeleteResourcesTestByIds 批量删除ResourcesTest记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcesTestService) GetResourcesTest

func (resourcesTestService *ResourcesTestService) GetResourcesTest(id uint) (resourcesTest lessondata.ResourcesTest, err error)

GetResourcesTest 根据id获取ResourcesTest记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcesTestService) GetResourcesTestInfoList

func (resourcesTestService *ResourcesTestService) GetResourcesTestInfoList(info lessondataReq.ResourcesTestSearch) (list []lessondata.ResourcesTest, total int64, err error)

GetResourcesTestInfoList 分页获取ResourcesTest记录 Author [piexlmax](https://github.com/piexlmax)

func (*ResourcesTestService) UpdateResourcesTest

func (resourcesTestService *ResourcesTestService) UpdateResourcesTest(resourcesTest lessondata.ResourcesTest) (err error)

UpdateResourcesTest 更新ResourcesTest记录 Author [piexlmax](https://github.com/piexlmax)

type VideoResourcesService

type VideoResourcesService struct {
}

func (*VideoResourcesService) CreateVideoResources

func (videoResourcesService *VideoResourcesService) CreateVideoResources(videoResources lessondata.VideoResources) (err error)

CreateVideoResources 创建VideoResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*VideoResourcesService) DeleteVideoResources

func (videoResourcesService *VideoResourcesService) DeleteVideoResources(videoResources lessondata.VideoResources) (err error)

DeleteVideoResources 删除VideoResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*VideoResourcesService) DeleteVideoResourcesByIds

func (videoResourcesService *VideoResourcesService) DeleteVideoResourcesByIds(ids request.IdsReq) (err error)

DeleteVideoResourcesByIds 批量删除VideoResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*VideoResourcesService) GetVideoResources

func (videoResourcesService *VideoResourcesService) GetVideoResources(id uint) (videoResources lessondata.VideoResources, err error)

GetVideoResources 根据id获取VideoResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*VideoResourcesService) GetVideoResourcesInfoList

func (videoResourcesService *VideoResourcesService) GetVideoResourcesInfoList(info lessondataReq.VideoResourcesSearch) (list []lessondata.VideoResources, total int64, err error)

GetVideoResourcesInfoList 分页获取VideoResources记录 Author [piexlmax](https://github.com/piexlmax)

func (*VideoResourcesService) UpdateVideoResources

func (videoResourcesService *VideoResourcesService) UpdateVideoResources(videoResources lessondata.VideoResources) (err error)

UpdateVideoResources 更新VideoResources记录 Author [piexlmax](https://github.com/piexlmax)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL