文档
测试

新增资源

POST
http://127.0.0.1:8080/meetbooooooot/resourcesAction.do?action=getResourcesJson

接口描述

获取资源

响应参数

参数名
类型
描述
必填
children
array
数据列表
必填
children
array
数据列表
必填
createtime
string
示例:2019-07-09 15:34:33.0
必填
custid
number
示例:1
必填
icon
string
示例:
必填
orderno
number
示例:1
必填
permission
string
示例:resource
必填
pollpath
string
示例:
必填
rescode
string
示例:CDGL
必填
resid
number
示例:10
必填
resname
string
示例:菜单管理
必填
respid
number
示例:9
必填
restype
number
示例:2
必填
roleList
array
数据列表
必填
url
string
示例:
必填
valid
number
示例:0
必填
createtime
string
示例:2019-07-09 13:57:47.0
必填
custid
number
示例:1
必填
icon
string
示例:
必填
orderno
number
示例:1
必填
permission
string
示例:systemshow
必填
pollpath
string
示例:
必填
rescode
string
示例:XTGL
必填
resid
number
示例:9
必填
resname
string
示例:系统管理
必填
respid
number
示例:0
必填
restype
number
示例:1
必填
roleList
array
数据列表
必填
url
string
示例:
必填
valid
number
示例:0
必填

说明 / 示例

返回数据示例 ```[{ "children": [{ "children": [], "createtime": "2019-07-09 15:34:33.0", "custid": 1, "icon": "", "orderno": 1, "permission": "resource", "pollpath": "", "rescode": "CDGL", "resid": 10, "resname": "菜单管理", "respid": 9, "restype": 2, "roleList": [], "url": "", "valid": 0 }, { "children": [], "createtime": "2019-07-09 15:37:14.0", "custid": 1, "icon": "", "orderno": 2, "permission": "YHGL", "pollpath": "", "rescode": "YHGL", "resid": 11, "resname": "用户管理", "respid": 9, "restype": 2, "roleList": [], "url": "", "valid": 0 }, { "children": [], "createtime": "2019-07-09 15:39:12.0", "custid": 1, "icon": "", "orderno": 3, "permission": "JSGL", "pollpath": "", "rescode": "JSGL", "resid": 12, "resname": "角色管理", "respid": 9, "restype": 2, "roleList": [], "url": "", "valid": 0 }], "createtime": "2019-07-09 13:57:47.0", "custid": 1, "icon": "", "orderno": 1, "permission": "systemshow", "pollpath": "", "rescode": "XTGL", "resid": 9, "resname": "系统管理", "respid": 0, "restype": 1, "roleList": [], "url": "", "valid": 0 }] ```