| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 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"`
- }
|