API中心

  1. 通用服务
  2. 菜单服务
返回

查询菜单权限

接口所在U8C版本:U8 cloud3.6以及更高版本
详细描述:用于查询菜单权限
API视频讲解API详情补丁列表常见问题参考
接口地址
请求方式
请求参数header
请求参数body
返回类型参数
代码示例
请求参数示例
正确返回示例
错误返回示例
接口地址:http://ip:port/u8cloud/api/uapbd/templet/menu

参数填写指南

请求方式:POST

请求参数(header):

参数填写指南
参数名必填描述默认值
Content-Type请求体数据类型application/json
usercode用户
password密码
system系统参数

请求参数(body):

参数名类型是否数组必填描述默认值
cuserid用户主键
funcode节点编码
pk_corp公司主键

返回类型参数:

参数名类型是否数组必填描述默认值
datas功能节点VO
cfunidstring功能节点主键
classnamestring类名
dispCodestring显示编码
dsNamestring数据源名称
forbidFlagstring禁用标志
funDescstring描述
funLevelstring级次
funPropertystring属性
funcodestring功能节点编码
funnamestring功能节点名称
groupFlagstring集团属性
helpNamestring帮助文件名
isHasParastring是否在参数界面中显示
isbuttonpowerstring是否启用按钮权限控制
m_orgtypecodestring组织类型
m_residstring多语资源id
parentIdstring父节点主键

请求参数示例:

复制代码

{
    "cuserid": "0001A1100000000001OE",
    "pk_corp":"1002",
    "funcode":"A005"
}

正确返回示例:

复制代码

{
    "status": "success",
    "data": "{\"allcount\":3,\"retcount\":3,\"datas\":[{\"funname\":\"移动销售\",\"funcode\":\"A00501\",\"classname\":\"移动销售\",\"dispCode\":\"100000\",\"funProperty\":\"0\",\"isbuttonpower\":false},{\"funname\":\"存量查看\",\"funcode\":\"A00502\",\"classname\":\"存量查看\",\"dispCode\":\"100001\",\"funProperty\":\"0\",\"isbuttonpower\":false},{\"funname\":\"销售下单\",\"funcode\":\"A005\",\"dispCode\":\"1000\",\"funProperty\":\"1\",\"isbuttonpower\":false}]}",
    "taskNumber": "202112130024"
}

错误返回示例:

复制代码

{
    "status": "falied",
    "errorcode": "-32000",
    "errormsg": "U8C返回信息:下列查询条件必须输入:[cuserid, pk_corp]",
    "taskNumber": "202112130026"
}