Documentation ¶
Index ¶
- type FeedbackService
- func (ffService *FeedbackService) AdoptFeedback(ID, UID uint) (err error)
- func (ffService *FeedbackService) CreateFeedback(ff *feedback.Feedback) (err error)
- func (ffService *FeedbackService) DeleteFeedback(ff feedback.Feedback) (err error)
- func (ffService *FeedbackService) DeleteFeedbackByIds(ids request.IdsReq) (err error)
- func (ffService *FeedbackService) GetFeedback(id uint) (ff feedback.Feedback, err error)
- func (ffService *FeedbackService) GetFeedbackByUid(uid uint) (ff feedback.Feedback, err error)
- func (ffService *FeedbackService) GetFeedbackInfoList(info feedbackReq.FeedbackSearch) (list []feedback.Feedback, total int64, err error)
- func (ffService *FeedbackService) GetFeedbackInfoListByUid(uid uint) (list []feedback.Feedback, err error)
- func (ffService *FeedbackService) UpdateFeedback(ff feedback.Feedback) (err error)
- type ServiceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedbackService ¶
type FeedbackService struct { }
func (*FeedbackService) AdoptFeedback ¶
func (ffService *FeedbackService) AdoptFeedback(ID, UID uint) (err error)
AdoptFeedback 采纳建议 Author [g-qs](https://github.com/g-qs)
func (*FeedbackService) CreateFeedback ¶
func (ffService *FeedbackService) CreateFeedback(ff *feedback.Feedback) (err error)
CreateFeedback 创建Feedback记录 Author [piexlmax](https://github.com/piexlmax)
func (*FeedbackService) DeleteFeedback ¶
func (ffService *FeedbackService) DeleteFeedback(ff feedback.Feedback) (err error)
DeleteFeedback 删除Feedback记录 Author [piexlmax](https://github.com/piexlmax)
func (*FeedbackService) DeleteFeedbackByIds ¶
func (ffService *FeedbackService) DeleteFeedbackByIds(ids request.IdsReq) (err error)
DeleteFeedbackByIds 批量删除Feedback记录 Author [piexlmax](https://github.com/piexlmax)
func (*FeedbackService) GetFeedback ¶
func (ffService *FeedbackService) GetFeedback(id uint) (ff feedback.Feedback, err error)
GetFeedback 根据id获取Feedback记录 Author [piexlmax](https://github.com/piexlmax)
func (*FeedbackService) GetFeedbackByUid ¶
func (ffService *FeedbackService) GetFeedbackByUid(uid uint) (ff feedback.Feedback, err error)
GetFeedbackByUid 根据用户id获取Feedback记录 Author [g-qs](https://github.com/g-qs)
func (*FeedbackService) GetFeedbackInfoList ¶
func (ffService *FeedbackService) GetFeedbackInfoList(info feedbackReq.FeedbackSearch) (list []feedback.Feedback, total int64, err error)
GetFeedbackInfoList 分页获取Feedback记录 Author [piexlmax](https://github.com/piexlmax)
func (*FeedbackService) GetFeedbackInfoListByUid ¶
func (ffService *FeedbackService) GetFeedbackInfoListByUid(uid uint) (list []feedback.Feedback, err error)
GetFeedbackInfoListByUid 获取建议信箱列表 Author [g-qs](https://github.com/g-qs)
func (*FeedbackService) UpdateFeedback ¶
func (ffService *FeedbackService) UpdateFeedback(ff feedback.Feedback) (err error)
UpdateFeedback 更新Feedback记录 Author [piexlmax](https://github.com/piexlmax)
type ServiceGroup ¶
type ServiceGroup struct {
FeedbackService
}