文档
测试

企业菜单获取接口

GET
http://blg.baidukongjian.com/api/user/getMenus

接口描述

获取当前企业正常使用的导航菜单

请求参数

参数名
类型
描述
必填
corpId
加密的企业id
必填

响应参数

参数名
类型
描述
必填
ret
string
返回请求结果
必填
ok
string
响应成功
必填
其他响应信息
必填
data_arr
arr
返回请求数据
必填
menuId
string
菜单id
必填
menuParentId
string
上级id
必填
activeFlag
string
菜单是否启用。Y-启用,N-禁用
必填
menuName
string
菜单名称
必填
menuPath
string
菜单对应路由路径
必填
menuCode
string
菜单代码
必填
children
arr
如果是父类,这里存孩子节点
必填

说明 / 示例

``` { "ret": "ok", "data_arr": [ { "menuId": "a", "menuParentId": null, "activeFlag": "Y", "menuName": "数据分析", "menuPath": "/shujufenxi", "menuCode": "data_analyse", "children": [ { "menuId": "ab", "menuParentId": "a", "activeFlag": "Y", "menuName": "数据分析", "menuPath": "/shujufenxi/index", "menuCode": null, "children": [] } ] }, { "menuId": "b", "menuParentId": null, "activeFlag": "Y", "menuName": "通讯录管理", "menuPath": "/tXLLayout", "menuCode": "member_manage", "children": [ { "menuId": "ba", "menuParentId": "b", "activeFlag": "Y", "menuName": "通讯录管理", "menuPath": "/TXLLayout/index", "menuCode": null, "children": [] } ] }, { "menuId": "c", "menuParentId": null, "activeFlag": "Y", "menuName": "朋友圈管理", "menuPath": "/historical", "menuCode": "friend_circle_manage", "children": [ { "menuId": "ca", "menuParentId": "c", "activeFlag": "Y", "menuName": "朋友圈管理", "menuPath": "/historical/historicalFriends/index", "menuCode": null, "children": [] } ] }, { "menuId": "d", "menuParentId": null, "activeFlag": "Y", "menuName": "群发消息", "menuPath": "/QFLayout", "menuCode": "mass_message", "children": [ { "menuId": "da", "menuParentId": "d", "activeFlag": "Y", "menuName": "客户群发", "menuPath": "/QFLayout/index", "menuCode": null, "children": [] } ] }, { "menuId": "e", "menuParentId": null, "activeFlag": "Y", "menuName": "欢迎语管理", "menuPath": "/sCManagement", "menuCode": "welcome_manage", "children": [ { "menuId": "ea", "menuParentId": "e", "activeFlag": "Y", "menuName": "素材上传", "menuPath": "/SCManagement/ScUpload/index", "menuCode": null, "children": [] }, { "menuId": "eb", "menuParentId": "e", "activeFlag": "Y", "menuName": "素材管理", "menuPath": "/SCManagement/ScSelect/index", "menuCode": null, "children": [] }, { "menuId": "ec", "menuParentId": "e", "activeFlag": "Y", "menuName": "欢迎语管理", "menuPath": "/SCManagement/hyyszLay/index", "menuCode": null, "children": [] } ] }, { "menuId": "f", "menuParentId": null, "activeFlag": "Y", "menuName": "批量添加好友", "menuPath": "/friendsAdd", "menuCode": "add_friend_batch", "children": [ { "menuId": "fa", "menuParentId": "f", "activeFlag": "Y", "menuName": "批量添加好友", "menuPath": "/friendsAdd/index", "menuCode": null, "children": [] }, { "menuId": "fb", "menuParentId": "f", "activeFlag": "Y", "menuName": "拨浪鼓发送任务", "menuPath": "/BatchadditFriend/index", "menuCode": null, "children": [] }, { "menuId": "fc", "menuParentId": "f", "activeFlag": "Y", "menuName": "查看发送客户", "menuPath": "/sendCustomerSelect/index", "menuCode": null, "children": [] } ] }, { "menuId": "g", "menuParentId": null, "activeFlag": "Y", "menuName": "获取客户信息", "menuPath": "/slideUsers", "menuCode": "get_external_info", "children": [ { "menuId": "ga", "menuParentId": "g", "activeFlag": "Y", "menuName": "获取客户信息", "menuPath": "/slideUsers/index", "menuCode": null, "children": [] }, { "menuId": "gb", "menuParentId": "g", "activeFlag": "Y", "menuName": "客户信息导出", "menuPath": "/Customerexport/index", "menuCode": null, "children": [] } ] }, { "menuId": "h", "menuParentId": null, "activeFlag": "Y", "menuName": "客户管理", "menuPath": "/kHLayout", "menuCode": "external_manage", "children": [ { "menuId": "ha", "menuParentId": "h", "activeFlag": "Y", "menuName": "客户管理", "menuPath": "/seachtuo/index", "menuCode": null, "children": [] }, { "menuId": "hb", "menuParentId": "h", "activeFlag": "Y", "menuName": "流失客户", "menuPath": "/KHLayout/LskhLay/index", "menuCode": null, "children": [] } ] }, { "menuId": "i", "menuParentId": null, "activeFlag": "Y", "menuName": "客户群管理", "menuPath": "/kHQLayout", "menuCode": null, "children": [ { "menuId": "ia", "menuParentId": "i", "activeFlag": "Y", "menuName": "客户群列表", "menuPath": "/KHQLayout/KhqlbLay/index", "menuCode": null, "children": [] }, { "menuId": "ib", "menuParentId": "i", "activeFlag": "Y", "menuName": "成员群数据", "menuPath": "/KHQLayout/CyqsjLay/index", "menuCode": null, "children": [] } ] }, { "menuId": "j", "menuParentId": null, "activeFlag": "Y", "menuName": "继承设置", "menuPath": "/extendsRelations", "menuCode": null, "children": [ { "menuId": "ja", "menuParentId": "j", "activeFlag": "Y", "menuName": "继承关系设置", "menuPath": "/ExtendsRelations/index", "menuCode": null, "children": [] } ] }, { "menuId": "k", "menuParentId": null, "activeFlag": "Y", "menuName": "企微设置", "menuPath": "/qWLayout", "menuCode": "work_setting", "children": [ { "menuId": "ka", "menuParentId": "k", "activeFlag": "Y", "menuName": "企微设置", "menuPath": "/QWLayout/index", "menuCode": null, "children": [] } ] }, { "menuId": "l", "menuParentId": null, "activeFlag": "Y", "menuName": "客户明细", "menuPath": "/Customerdetails", "menuCode": null, "children": [ { "menuId": "la", "menuParentId": "l", "activeFlag": "Y", "menuName": "客户明细", "menuPath": "/Customerdetails/index", "menuCode": null, "children": [] } ] } ] } ```