{
"frontendAppId": 0,
"type": "CATALOG",
"resourceAppId": 0,
"parentId": 0,
"menuCode": "string",
"routeCode": "string",
"title": "string",
"titleKey": "string",
"path": "string",
"icon": "string",
"iframeUrl": "string",
"externalUrl": "string",
"newWindow": true,
"permissionCode": "string",
"sortOrder": 0,
"matchMode": "ALL",
"requiredPermissionCodes": [
"string"
],
"reason": "string"
}curl --location 'http://localhost:1111/api/v1/auth/menus' \
--header 'Content-Type: application/json' \
--data '{
"frontendAppId": 0,
"type": "CATALOG",
"resourceAppId": 0,
"parentId": 0,
"menuCode": "string",
"routeCode": "string",
"title": "string",
"titleKey": "string",
"path": "string",
"icon": "string",
"iframeUrl": "string",
"externalUrl": "string",
"newWindow": true,
"permissionCode": "string",
"sortOrder": 0,
"matchMode": "ALL",
"requiredPermissionCodes": [
"string"
],
"reason": "string"
}'{
"code": 0,
"message": "string",
"messageKey": "string",
"timestamp": 0,
"data": {
"id": 0,
"frontendAppId": 0,
"frontendAppCode": "string",
"resourceAppId": 0,
"resourceAppCode": "string",
"parentId": 0,
"type": "CATALOG",
"menuCode": "string",
"routeCode": "string",
"title": "string",
"titleKey": "string",
"path": "string",
"icon": "string",
"iframeUrl": "string",
"externalUrl": "string",
"newWindow": true,
"permissionCode": "string",
"sortOrder": 0,
"matchMode": "ALL",
"visible": true,
"enabled": true,
"requiredPermissionCodes": [
"string"
],
"version": 0,
"createTime": "string",
"updateTime": "string",
"children": [
{}
]
},
"requestId": "resolveRequestId()"
}