 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ReportService
- func (rs *ReportService) AddReport(ctx context.Context, req *schema.AddReportReq) (err error)
- func (rs *ReportService) GetUnreviewedReportPostPage(ctx context.Context, req *schema.GetUnreviewedReportPostPageReq) (pageModel *pager.PageModel, err error)
- func (rs *ReportService) ReviewReport(ctx context.Context, req *schema.ReviewReportReq) (err error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportService ¶
type ReportService struct {
	// contains filtered or unexported fields
}
    ReportService user service
func NewReportService ¶
func NewReportService( reportRepo report_common.ReportRepo, objectInfoService *object_info.ObjService, commonUser *usercommon.UserCommon, answerRepo answercommon.AnswerRepo, questionRepo questioncommon.QuestionRepo, commentCommonRepo comment_common.CommentCommonRepo, reportHandle *report_handle.ReportHandle, configService *config.ConfigService, eventQueueService event_queue.EventQueueService, ) *ReportService
NewReportService new report service
func (*ReportService) AddReport ¶
func (rs *ReportService) AddReport(ctx context.Context, req *schema.AddReportReq) (err error)
AddReport add report
func (*ReportService) GetUnreviewedReportPostPage ¶
func (rs *ReportService) GetUnreviewedReportPostPage(ctx context.Context, req *schema.GetUnreviewedReportPostPageReq) ( pageModel *pager.PageModel, err error)
GetUnreviewedReportPostPage get unreviewed report post page
func (*ReportService) ReviewReport ¶
func (rs *ReportService) ReviewReport(ctx context.Context, req *schema.ReviewReportReq) (err error)
ReviewReport review report
 Click to show internal directories. 
   Click to hide internal directories.