Commit f22c26ec authored by 侯贺政's avatar 侯贺政

修改子集键名

Signed-off-by: 侯贺政's avatarhouhezheng <houhezheng@romens.cn>
parent 49ec5abe
......@@ -58,7 +58,7 @@ class AuthorityNodeController extends BaseController
$tree = array();
foreach ($items as $k => $item) {
if (isset($items[$item['PID']])) {
$items[$item['PID']]['son'][] = &$items[$k];
$items[$item['PID']]['CHILDREN'][] = &$items[$k];
} else {
$tree[] = &$items[$k];
}
......@@ -309,6 +309,7 @@ class AuthorityNodeController extends BaseController
throw new HttpException(200, '更新成功!');
}
/**
* @OA\Get(
* path="/backend/web/v1/authority/authority-nodes/role-authorities",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment