lyh
13 小时以前 78aeb8a8c97a884a640d46755e4be706bde48b7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.lxzn.api.nc;
 
import com.lxzn.framework.model.response.QueryListResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
 
@Api(value = "用户动态按钮权限",description = "用户动态按钮权限")
public interface UserPermButtonControllerApi {
 
    @ApiOperation("获取用户的操作按钮权限 菜单的操作按钮 和对象的右键菜单的操作按钮")
    @ApiImplicitParams({
            @ApiImplicitParam(name="param",value = "查询参数,按类型而不同 1 菜单路径 2 对象权限码", required=true, paramType="query",dataType="string"),
            @ApiImplicitParam(name="flag",value = "查询按钮的范围 1 菜单 2 对象",required=true,paramType="query",dataType="int"),
            @ApiImplicitParam(name="objectId",value = "flag 为2时需要传递该参数 该参数与param对应数据id, 如果不穿代表右键空白区 如:product 则需要传对应的productId",paramType="query",dataType="String"),
            @ApiImplicitParam(name="relativeParam",value = "param 为process,document,file 时需要传该参数 该参数为关联树节点的对象权限码",paramType="query",dataType="String"),
            @ApiImplicitParam(name="relativeObjectId",value = "param 为process,document,file 时需要传该参数 该参数为关联树节点的id",paramType="query",dataType="String")
    })
    QueryListResponseResult<String> getCurrentUserButtonPerms(String param, Integer flag, String objectId,
                                                              String relativeParam, String relativeObjectId);
}