IAMService

CreateMenu 创建菜单。code/name 必填,code 唯一;visible 不传时默认为 true。

post/v1/iam/menus

Request body

codestring
componentstring
externalboolean
iconstring
keepAliveboolean
namestring
parentIdstring
pathstring
permCodestring
redirectstring
sortOrderinteger
typeinteger

菜单类型:0/1=目录,2=菜单,3=按钮。

visibleboolean

不传默认 true;显式传 false 可创建隐藏菜单。

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.