You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
package request
|
|
|
|
import "bkb-seller/global"
|
|
|
|
type SearchSourceFileParams struct {
|
|
FileName string `json:"file_name" form:"file_name"` //标题
|
|
Status string `json:"status" form:"status"` //状态 1-已上传 0-正在上传 2-上传失败
|
|
Type string `json:"type" form:"type"` //类型 1-图片 2-视频 3-文件 4-文件夹
|
|
ParentID int `json:"parent_id" form:"parent_id"` //父级id
|
|
PageInfo
|
|
}
|
|
|
|
type UpdateSourceFileStatusParams struct {
|
|
global.BASE_ID
|
|
Status string `json:"status" form:"status"` //状态 1-已上传 0-正在上传 2-上传失败
|
|
Remark string `json:"remark" form:"remark"` //备注
|
|
}
|
|
|
|
type ConvertFileIDParams struct {
|
|
global.BASE_ID
|
|
}
|
|
|
|
type SearchFileParams struct {
|
|
NewsID string `json:"news_id" form:"news_id"` //通过newsid获取视频文件
|
|
}
|
|
|
|
type CreateSourceFile struct {
|
|
FileName string `json:"file_name" form:"file_name"` //标题
|
|
ParentID uint `json:"parent_id" form:"parent_id"` //父级id
|
|
}
|
|
|
|
type MoveFile struct {
|
|
SourceID []uint `json:"source_id" form:"source_id"` //文件id
|
|
TargetID uint `json:"target_id" form:"target_id"` //目标文件夹id
|
|
}
|
|
|
|
type FileTreeParams struct {
|
|
OnlyDir bool `json:"only_dir" form:"only_dir"` //只获取文件夹
|
|
}
|
|
|