structure

package
v0.0.0-...-533102b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceGroup

type ServiceGroup struct {
	ServiceStationArticleService
}

type ServiceStationArticleService

type ServiceStationArticleService struct {
}

func (*ServiceStationArticleService) CreateServiceStationArticle

func (serviceStationArticleService *ServiceStationArticleService) CreateServiceStationArticle(serviceStationArticle *structure.ServiceStationArticle) (err error)

CreateServiceStationArticle 创建服务站文章记录 Author [piexlmax](https://github.com/piexlmax)

func (*ServiceStationArticleService) DeleteServiceStationArticle

func (serviceStationArticleService *ServiceStationArticleService) DeleteServiceStationArticle(serviceStationArticle structure.ServiceStationArticle) (err error)

DeleteServiceStationArticle 删除服务站文章记录 Author [piexlmax](https://github.com/piexlmax)

func (*ServiceStationArticleService) DeleteServiceStationArticleByIds

func (serviceStationArticleService *ServiceStationArticleService) DeleteServiceStationArticleByIds(ids request.IdsReq) (err error)

DeleteServiceStationArticleByIds 批量删除服务站文章记录 Author [piexlmax](https://github.com/piexlmax)

func (*ServiceStationArticleService) GetArticleById

func (serviceStationArticleService *ServiceStationArticleService) GetArticleById(id uint, userID uint) (article structure.ServiceStationArticle, err error)

GetArticleById 根据ID获取服务站文章 Author [g-qs](https://github.com/g-qs)

func (*ServiceStationArticleService) GetArticleList

func (serviceStationArticleService *ServiceStationArticleService) GetArticleList(info structureReq.ServiceStationArticleSearch) (list []structure.ServiceStationArticle, total int64, err error)

GetArticleList 获取服务站文章列表 Author [g-qs](https://gitee.com/g-qs)

func (*ServiceStationArticleService) GetReadList

func (serviceStationArticleService *ServiceStationArticleService) GetReadList(id uint) (userList []user.User, err error)

GetReadList 获取文章阅读名单 Author [g-qs](https://gitee.com/g-qs)

func (*ServiceStationArticleService) GetServiceStationArticle

func (serviceStationArticleService *ServiceStationArticleService) GetServiceStationArticle(id uint) (serviceStationArticle structure.ServiceStationArticle, err error)

GetServiceStationArticle 根据id获取服务站文章记录 Author [piexlmax](https://github.com/piexlmax)

func (*ServiceStationArticleService) GetServiceStationArticleInfoList

func (serviceStationArticleService *ServiceStationArticleService) GetServiceStationArticleInfoList(info structureReq.ServiceStationArticleSearch) (list []structure.ServiceStationArticle, total int64, err error)

GetServiceStationArticleInfoList 分页获取服务站文章记录 Author [piexlmax](https://github.com/piexlmax)

func (*ServiceStationArticleService) UpdateServiceStationArticle

func (serviceStationArticleService *ServiceStationArticleService) UpdateServiceStationArticle(serviceStationArticle structure.ServiceStationArticle) (err error)

UpdateServiceStationArticle 更新服务站文章记录 Author [piexlmax](https://github.com/piexlmax)

Jump to

Keyboard shortcuts

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