1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| package request
|
| import (
| "aps_crm/constvar"
| "aps_crm/model"
| )
|
| type AddFile struct {
| SourceType string `gorm:"source_type" json:"sourceType" form:"sourceType" binding:"required"` // 附件来源
| SourceId int `gorm:"source_id" json:"sourceId" form:"sourceId" binding:"required"` // 来源id
| }
|
| type UpdateFile struct {
| Id uint `json:"id"`
| model.File
| }
|
| type GetFileList struct {
| PageInfo
| QueryClass constvar.FileQueryClass `json:"queryClass" form:"queryClass"`
| KeywordType constvar.FileKeywordType `json:"keywordType" form:"keywordType"`
| Keyword string `json:"keyword" form:"keyword"`
| }
|
|