lessondata

package
v0.0.0-...-ea8f17e Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 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 KnowledgeService

type KnowledgeService struct {
}

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)

Jump to

Keyboard shortcuts

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