参数填写指南
请求参数(header):
参数填写指南| 参数名 | 必填 | 描述 | 默认值 |
|---|---|---|---|
| Content-Type | 是 | 请求体数据类型 | application/json |
| usercode | 是 | 用户 | |
| password | 是 | 密码 | |
| system | 是 | 系统参数 |
请求参数(body):
| 参数名 | 类型 | 是否数组 | 必填 | 描述 | 默认值 |
|---|---|---|---|---|---|
| cuserid | 否 | 是 | 用户主键 | ||
| funcode | 否 | 是 | 节点编码 | ||
| pk_corp | 否 | 是 | 公司主键 |
返回类型参数:
| 参数名 | 类型 | 是否数组 | 必填 | 描述 | 默认值 |
|---|---|---|---|---|---|
| datas | 功能节点VO | ||||
| cfunid | string | 否 | 否 | 功能节点主键 | |
| classname | string | 否 | 否 | 类名 | |
| dispCode | string | 否 | 否 | 显示编码 | |
| dsName | string | 否 | 否 | 数据源名称 | |
| forbidFlag | string | 否 | 否 | 禁用标志 | |
| funDesc | string | 否 | 否 | 描述 | |
| funLevel | string | 否 | 否 | 级次 | |
| funProperty | string | 否 | 否 | 属性 | |
| funcode | string | 否 | 否 | 功能节点编码 | |
| funname | string | 否 | 否 | 功能节点名称 | |
| groupFlag | string | 否 | 否 | 集团属性 | |
| helpName | string | 否 | 否 | 帮助文件名 | |
| isHasPara | string | 否 | 否 | 是否在参数界面中显示 | |
| isbuttonpower | string | 否 | 否 | 是否启用按钮权限控制 | |
| m_orgtypecode | string | 否 | 否 | 组织类型 | |
| m_resid | string | 否 | 否 | 多语资源id | |
| parentId | string | 否 | 否 | 父节点主键 |
代码示例:
请求参数示例:
复制代码
{
"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"
}