package dto import ( "go-template/business/model" "gitea.ckfah.com/cjjy/gocommon/pkg/common" ) type ReportInfoRequest struct { Params ReportInfoParams `json:"params" binding:"required"` } type ReportInfoParams struct { Id uint64 `json:"id"` } type ReportInfoResult struct { Infos []interface{} } type ReportListRequest struct { Params ReportListParams `json:"params" binding:"required"` } type ReportListParams struct { common.PageRequest UserId uint64 `json:"user_id"` } type ReportListResult struct { Items []model.ReportPeccancy `json:"items"` common.PageResponse } type SendMQRequest struct { Params SendMQParams `json:"params" binding:"required"` } type SendMQParams struct { Topic string `json:"topic"` Message string `json:"message"` } type SendMQResult struct { Result interface{} `json:"result"` } type DownLoadXlsxFileParams struct { Row int `json:"-"` Column int `json:"-"` Sheet int `json:"-"` } type DownLoadCsvFileParams struct { Row int `json:"-"` Column int `json:"-"` } type UploadXlsxFileParams struct { SheetName string `json:"-"` } type UploadXlsxFileResponse struct { Rows int `json:"rows"` Columns int `json:"columns"` Header []string `json:"header"` }