Documentation ¶
Index ¶
- type ServiceGroup
- type ServiceStationArticleService
- func (serviceStationArticleService *ServiceStationArticleService) CreateServiceStationArticle(serviceStationArticle *structure.ServiceStationArticle) (err error)
- func (serviceStationArticleService *ServiceStationArticleService) DeleteServiceStationArticle(serviceStationArticle structure.ServiceStationArticle) (err error)
- func (serviceStationArticleService *ServiceStationArticleService) DeleteServiceStationArticleByIds(ids request.IdsReq) (err error)
- func (serviceStationArticleService *ServiceStationArticleService) GetArticleById(id uint, userID uint) (article structure.ServiceStationArticle, err error)
- func (serviceStationArticleService *ServiceStationArticleService) GetArticleList(info structureReq.ServiceStationArticleSearch) (list []structure.ServiceStationArticle, total int64, err error)
- func (serviceStationArticleService *ServiceStationArticleService) GetReadList(id uint) (userList []user.User, err error)
- func (serviceStationArticleService *ServiceStationArticleService) GetServiceStationArticle(id uint) (serviceStationArticle structure.ServiceStationArticle, err error)
- func (serviceStationArticleService *ServiceStationArticleService) GetServiceStationArticleInfoList(info structureReq.ServiceStationArticleSearch) (list []structure.ServiceStationArticle, total int64, err error)
- func (serviceStationArticleService *ServiceStationArticleService) UpdateServiceStationArticle(serviceStationArticle structure.ServiceStationArticle) (err error)
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)