kewen-framework-auth框架示例API
    kewen-framework-auth框架示例API
    • 测试权限模块
      • 测试权限数据范围Controller
        • 测试数据范围
        • 测试数据范围 分页
        • 测试数据编辑
        • 测试数据权限编辑
        • 测试菜单控制
    • 会议室相关
      • 主体相关
        • 创建会议室-通过接口保存权限
        • 创建会议室-通过注解保存权限
        • 编辑会议室主权限
      • 查询可编辑列表
        GET
      • 会议室编辑-通过注解
        POST
      • 会议室编辑-通过接口
        POST
      • 查询可预约列表
        GET
      • 会议室预约
        POST
    • 登录
      POST
    • 获取当前用户
      GET
    • 获取当前用户菜单路由
      GET
    • 所有路由菜单
      GET
    • 所有API菜单
      GET
    • 不需要登录hello
      GET
    • security注解
      GET
    • 修改密码
      POST

      修改密码

      开发中
      POST
      /currentUser/updatePassword

      请求参数

      Header 参数
      Authorization
      string 
      可选
      示例值:
      {{token}}
      Body 参数application/json
      object {0}
      示例
      {
          "oldPassword":123456,
          "newPassword":"123456"
      }

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://localhost:8081/currentUser/updatePassword' \
      --header 'Authorization: ' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "oldPassword":123456,
          "newPassword":"123456"
      }'

      返回响应

      🟢200成功
      application/json
      Body
      code
      integer 
      必需
      success
      boolean 
      必需
      message
      string 
      必需
      data
      array [object {14}] 
      必需
      id
      integer 
      必需
      name
      string 
      必需
      parentId
      integer 
      必需
      path
      string 
      必需
      component
      string 
      必需
      meta
      object 
      必需
      icon
      string 
      必需
      hidden
      boolean 
      必需
      type
      integer 
      必需
      authType
      integer 
      必需
      createTime
      string 
      必需
      updateTime
      string 
      必需
      redirect
      string 
      必需
      children
      array [object {14}] 
      必需
      示例
      {
          "code": 200,
          "success": true,
          "message": "成功",
          "data": [
              {
                  "id": 2,
                  "name": "首页",
                  "parentId": 0,
                  "path": "/home",
                  "component": "home",
                  "meta": {
                      "affix": true,
                      "isExternalLinks": false
                  },
                  "icon": "el-icon-s-home",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:39",
                  "updateTime": "2024-06-18 08:01:55"
              },
              {
                  "id": 3,
                  "name": "文档",
                  "parentId": 0,
                  "path": "/docs",
                  "component": "docs",
                  "icon": "el-icon-s-order",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:39",
                  "updateTime": "2024-06-18 08:01:34"
              },
              {
                  "id": 4,
                  "name": "组织机构管理",
                  "parentId": 0,
                  "path": "/organization",
                  "redirect": "/organization/user",
                  "component": "layout/publics",
                  "icon": "el-icon-s-help",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:39",
                  "updateTime": "2024-06-21 08:34:49",
                  "children": [
                      {
                          "id": 5,
                          "name": "部门管理",
                          "parentId": 4,
                          "path": "/organization/dept",
                          "component": "organization/dept",
                          "icon": "el-icon-s-platform",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:39",
                          "updateTime": "2024-06-21 08:34:29"
                      },
                      {
                          "id": 6,
                          "name": "用户管理",
                          "parentId": 4,
                          "path": "/organization/user",
                          "component": "organization/User",
                          "icon": "el-icon-s-platform",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:39",
                          "updateTime": "2024-06-24 16:47:04"
                      },
                      {
                          "id": 7,
                          "name": "角色管理",
                          "parentId": 4,
                          "path": "/organization/role",
                          "component": "organizaion/role",
                          "icon": "el-icon-s-custom",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:39",
                          "updateTime": "2024-06-21 08:34:41"
                      }
                  ]
              },
              {
                  "id": 8,
                  "name": "个人中心",
                  "parentId": 0,
                  "path": "/profile",
                  "component": "profile",
                  "meta": {
                      "hidden": true
                  },
                  "icon": "el-icon-star-on",
                  "hidden": true,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:39",
                  "updateTime": "2024-06-14 16:45:17"
              },
              {
                  "id": 9,
                  "name": "路由嵌套",
                  "parentId": 0,
                  "path": "/route",
                  "redirect": "/menu",
                  "component": "layout/publics",
                  "icon": "el-icon-s-data",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:39",
                  "updateTime": "2024-06-19 08:37:28",
                  "children": [
                      {
                          "id": 10,
                          "name": "菜单管理",
                          "parentId": 9,
                          "path": "/menu",
                          "component": "menu",
                          "icon": "el-icon-s-operation",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:39",
                          "updateTime": "2024-06-19 08:34:48"
                      }
                  ]
              },
              {
                  "id": 11,
                  "name": "菜单管理2",
                  "parentId": 0,
                  "path": "/menu2",
                  "component": "menu",
                  "icon": "el-icon-s-operation",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:39",
                  "updateTime": "2024-06-19 08:46:15"
              },
              {
                  "id": 101,
                  "name": "组件模板",
                  "parentId": 0,
                  "path": "/example",
                  "component": "example",
                  "icon": "el-icon-s-platform",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-06-14 15:57:52",
                  "updateTime": "2024-06-14 16:45:17",
                  "children": [
                      {
                          "id": 117,
                          "name": "组件例子",
                          "parentId": 101,
                          "path": "/demo",
                          "redirect": "/demo/filtering",
                          "component": "layout/publics",
                          "icon": "el-icon-star-on",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:40",
                          "updateTime": "2024-06-14 15:55:57",
                          "children": [
                              {
                                  "id": 118,
                                  "name": "筛选组件",
                                  "parentId": 117,
                                  "path": "/demo/filtering",
                                  "component": "demo/filtering/index",
                                  "icon": "el-icon-s-marketing",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 119,
                                  "name": "筛选组件详情",
                                  "parentId": 117,
                                  "path": "/demo/filtering-details",
                                  "component": "demo/filtering/component/details",
                                  "meta": {
                                      "hidden": true
                                  },
                                  "icon": "el-icon-s-marketing",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 120,
                                  "name": "v-charts 图表",
                                  "parentId": 117,
                                  "path": "/demo/v-charts",
                                  "component": "demo/vCharts/index",
                                  "icon": "el-icon-data-analysis",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 121,
                                  "name": "大数据可视化",
                                  "parentId": 117,
                                  "path": "externalLinkUrl",
                                  "meta": {
                                      "isExternalLinks": true,
                                      "externalLinkUrl": "/big-data"
                                  },
                                  "icon": "el-icon-s-data",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 122,
                                  "name": "仿电视开关机",
                                  "parentId": 117,
                                  "path": "/demo/tVSwitch",
                                  "component": "demo/tVSwitch/index",
                                  "icon": "el-icon-s-platform",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 123,
                                  "name": "富文本编辑器",
                                  "parentId": 117,
                                  "path": "/demo/mavonEditor",
                                  "component": "demo/mavonEditor/index",
                                  "icon": "el-icon-edit-outline",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 124,
                                  "name": "瀑布屏",
                                  "parentId": 117,
                                  "path": "/demo/waterfall",
                                  "component": "demo/waterfall/index",
                                  "icon": "el-icon-reading",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 125,
                                  "name": "论坛评价",
                                  "parentId": 117,
                                  "path": "/demo/comment",
                                  "component": "demo/comment/index",
                                  "icon": "el-icon-chat-line-square",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 126,
                                  "name": "Tree 树形控件",
                                  "parentId": 117,
                                  "path": "/demo/treeControl",
                                  "component": "demo/treeControl/index",
                                  "icon": "el-icon-finished",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 127,
                                  "name": "天地图",
                                  "parentId": 117,
                                  "path": "/demo/tianditu",
                                  "component": "demo/tianditu/index",
                                  "icon": "el-icon-location-information",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 128,
                                  "name": "表格",
                                  "parentId": 117,
                                  "path": "/demo/table",
                                  "component": "demo/table/index",
                                  "icon": "el-icon-tickets",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:40",
                                  "updateTime": "2024-06-14 15:55:57"
                              }
                          ]
                      },
                      {
                          "id": 129,
                          "name": "表单页",
                          "parentId": 101,
                          "path": "/forms",
                          "redirect": "/forms/basic-form",
                          "component": "layout/publics",
                          "icon": "el-icon-notebook-2",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:41",
                          "updateTime": "2024-06-14 15:55:57",
                          "children": [
                              {
                                  "id": 130,
                                  "name": "基础表单",
                                  "parentId": 129,
                                  "path": "/forms/basic-form",
                                  "component": "forms/basicForm/index",
                                  "icon": "el-icon-cloudy",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:41",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 131,
                                  "name": "分步表单",
                                  "parentId": 129,
                                  "path": "/forms/step-form",
                                  "component": "forms/stepForm/index",
                                  "icon": "el-icon-partly-cloudy",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:41",
                                  "updateTime": "2024-06-14 15:55:57"
                              },
                              {
                                  "id": 132,
                                  "name": "高级表单",
                                  "parentId": 129,
                                  "path": "/forms/advanced-form",
                                  "component": "forms/advancedForm/index",
                                  "icon": "el-icon-cloudy-and-sunny",
                                  "hidden": false,
                                  "type": 1,
                                  "authType": 1,
                                  "createTime": "2024-05-10 14:56:41",
                                  "updateTime": "2024-06-14 15:55:57"
                              }
                          ]
                      },
                      {
                          "id": 134,
                          "name": "外链",
                          "parentId": 101,
                          "path": "externalLinkUrl",
                          "meta": {
                              "isExternalLinks": true,
                              "externalLinkUrl": "https://www.baidu.com",
                              "externalLinkType": "open"
                          },
                          "icon": "el-icon-link",
                          "hidden": false,
                          "type": 1,
                          "authType": 1,
                          "createTime": "2024-05-10 14:56:41",
                          "updateTime": "2024-06-14 15:55:57"
                      }
                  ]
              },
              {
                  "id": 133,
                  "name": "工具类集合",
                  "parentId": 0,
                  "path": "/tools",
                  "component": "tools",
                  "icon": "el-icon-setting",
                  "hidden": false,
                  "type": 1,
                  "authType": 2,
                  "createTime": "2024-05-10 14:56:41",
                  "updateTime": "2024-06-14 16:45:17"
              }
          ]
      }
      上一页
      security注解
      Built with