package request // SetEdbInfoShareReq // @Description: 设置指标分享人请求 type SetEdbInfoShareReq struct { EdbInfoId int `description:"指标id"` UserIdList []int `description:"分享用户id列表,如果为空,说明要给该指标移除分享人"` ShareType int8 `description:"分享类型,1:仅查看;2:可编辑"` } // SearchEdbInfoShareReq // @Description: 获取指标列表(设置共享的时候)请求结构体 type SearchEdbInfoShareReq struct { EdbShareList []int `description:"指标分享状态:1-未共享;2-已共享。可多选,默认是未共享"` SourceList []int `description:"来源id"` Keyword string `description:"关键字"` ClassifyIdList []int `description:"分类选择,如果不指定分类,那么就是所有分类"` CurrentIndex int `description:"当前页页码,从1开始"` PageSize int `description:"每页数据条数"` } // SetEdbSharePermissionReq // @Description: 设置数据权限请求 type SetEdbSharePermissionReq struct { SearchEdbInfoShareReq EdbIdList []int `description:"选中的指标id列表"` NoEdbIdList []int `description:"未选中的指标id列表"` IsSelectAll bool `description:"是否选择所有指标"` UserIdList []int `description:"分享用户id列表,如果为空,说明要给该指标移除分享人"` ShareType int8 `description:"分享类型,1:仅查看;2:可编辑"` }