report.go 575 B

12345678910111213141516171819
  1. package v1
  2. import "go-common/app/interface/bbq/app-bbq/model"
  3. // ReportConfigResponse .
  4. type ReportConfigResponse struct {
  5. Report []*model.ReportConfig `json:"report_config,omitempty"`
  6. Reasons []*model.ReasonConfig `json:"reason_config,omitempty"`
  7. }
  8. // ReportRequest .
  9. type ReportRequest struct {
  10. Type int16 `json:"type" form:"type" validate:"required"`
  11. UpMID int64 `json:"up_mid" form:"up_mid"`
  12. SVID int64 `json:"svid" form:"svid"`
  13. RpID int64 `json:"rpid" form:"rpid"`
  14. Danmu int64 `json:"danmu" form:"danmu"`
  15. Reason int16 `json:"reason" form:"reason"`
  16. }