dddd
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.

81 lines
2.1 KiB

4 years ago
package archiveapi
import "github.com/flipped-aurora/gin-vue-admin/server/commonus"
//ID
//文档接收列表
type archiveTypeListStruct struct {
commonus.PageSetLimt
ParentId int64 `json:"parentId"`
}
//文档类型输出格式
type archiveTypeOutPut struct {
commonus.SetId
ColumnrName string `json:"columnr_name"` //栏目名称
Sort int `json:"sort"` // 排序
State bool `json:"state"` // 状态
}
//添加栏目
type appArchiveType struct {
UID int64 `json:"uid"` //添加人
ParentId int64 `json:"parentId"` //父级
Title string `json:"title"` //标题
Sort int `json:"sort"` // 排序
}
//状态修改
type archiveState struct {
commonus.SetId
State int `json:"state"` // 状态
IsDel int `json:"isdel"` // 是否强制删除
}
//批量
type batchArchiveState struct {
commonus.BatchId
State int `json:"state"` // 状态
IsDel int `json:"isdel"` // 是否强制删除
}
4 years ago
//修改栏目
type eiteArchiveCont struct {
commonus.SetId
appArchiveType
}
//文档列表查询
type fileList struct {
commonus.PageSetLimt
ParentId int64 `json:"parentId"` //父级
Title string `json:"title"` //标题
ColumnId int64 `json:"columnId"` //栏目ID
GroupStruct
}
//组织架构相关
type GroupStruct struct {
Group int64 `json:"group"` //集团
Factory int64 `json:"factory"` //分厂
Position int64 `json:"position"` //工段
Team int64 `json:"team"` //班组
}
//文档列表返回结构
type callBackFilesList struct {
commonus.SetId
Title string `json:"title"` //标题
ColumnId int64 `json:"columnId"` //栏目ID
ColumnTitle string `json:"columnTitle"` //栏目标题
Scope int `json:"scope"` //可见范围
Reading int64 `json:"reading"` //阅读量
Comment int64 `json:"comment"` //评论数
Collect int64 `json:"collect"` //收藏数
Likes int64 `json:"like"` //点赞数
Tread int64 `json:"tread"` //踩
Score int64 `json:"score"` //综合评分
State bool `json:"state"` //状态
}