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