Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank page after renderring jsonData #56

Open
tank520 opened this issue Aug 16, 2019 · 0 comments
Open

Blank page after renderring jsonData #56

tank520 opened this issue Aug 16, 2019 · 0 comments

Comments

@tank520
Copy link

tank520 commented Aug 16, 2019

{
"swagger": "2.0",
"info": {
"description": "<dependency>
    <groupId>com.mmk</groupId>
    <artifactId>admin</artifactId>
    <version>0.0.1-SNAPSHOT</version>
</dependency>
",
"version": "0.0.1-SNAPSHOT",
"title": "quickstart",
"contact": {
"name": "mmk"
}
},
"host": "127.0.0.1:8001",
"basePath": "/",
"schemes": ["http"],
"paths": {
"/api/com.mmk.admin.api.AdminMenuProvider/1.0.0/deleteMenu.html": {
"post": {
"tags": ["AdminMenuProvider"],
"summary": "删除",
"description": "ServiceResponse deleteMenu(com.mmk.spi.ServiceRequest)",
"operationId": "deleteMenu",
"parameters": [{
"in": "body",
"name": "request",
"description": "主键",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestLong"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminMenuProvider/1.0.0/getMenuById.html": {
"post": {
"tags": ["AdminMenuProvider"],
"summary": "菜单详情查询",
"description": "ServiceResponse getMenuById(com.mmk.spi.ServiceRequest)",
"operationId": "getMenuById",
"parameters": [{
"in": "body",
"name": "request",
"description": "主键",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestLong"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse菜单返回"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminMenuProvider/1.0.0/listMenus.html": {
"post": {
"tags": ["AdminMenuProvider"],
"summary": "菜单列表查询",
"description": "ServiceResponse listMenus(com.mmk.admin.dto.AdminMenuRequestDTO)",
"operationId": "listMenus",
"parameters": [{
"in": "body",
"name": "request",
"description": "查询条件",
"required": false,
"schema": {
"$ref": "#/definitions/菜单管理入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse菜单列表 包含分页参数"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminMenuProvider/1.0.0/saveMenu.html": {
"post": {
"tags": ["AdminMenuProvider"],
"summary": "添加",
"description": "ServiceResponse saveMenu(com.mmk.admin.dto.AdminMenuRequestDTO)",
"operationId": "saveMenu",
"parameters": [{
"in": "body",
"name": "request",
"description": "新增对象",
"required": false,
"schema": {
"$ref": "#/definitions/菜单管理入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminMenuProvider/1.0.0/updateMenu.html": {
"post": {
"tags": ["AdminMenuProvider"],
"summary": "更新",
"description": "ServiceResponse updateMenu(com.mmk.admin.dto.AdminMenuRequestDTO)",
"operationId": "updateMenu",
"parameters": [{
"in": "body",
"name": "request",
"description": "更新对象",
"required": false,
"schema": {
"$ref": "#/definitions/菜单管理入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminMenuProvider/1.0.0/updateMenuStatus.html": {
"post": {
"tags": ["AdminMenuProvider"],
"summary": "状态更新",
"description": "ServiceResponse updateMenuStatus(com.mmk.admin.dto.AdminMenuRequestDTO)",
"operationId": "updateMenuStatus",
"parameters": [{
"in": "body",
"name": "request",
"description": "更新对象",
"required": false,
"schema": {
"$ref": "#/definitions/菜单管理入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminPermissionProvider/1.0.0/addAdminPermission.html": {
"post": {
"tags": ["AdminPermissionProvider"],
"summary": "权限添加",
"description": "ServiceResponse addAdminPermission(com.mmk.admin.dto.AdminPermissionRequestDTO)",
"operationId": "addAdminPermission",
"parameters": [{
"in": "body",
"name": "req",
"description": "权限添加参数",
"required": false,
"schema": {
"$ref": "#/definitions/权限管理传入参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminPermissionProvider/1.0.0/deleteAdminPermission.html": {
"post": {
"tags": ["AdminPermissionProvider"],
"summary": "权限删除",
"description": "ServiceResponse deleteAdminPermission(com.mmk.spi.ServiceRequest)",
"operationId": "deleteAdminPermission",
"parameters": [{
"in": "body",
"name": "request",
"description": "权限删除主键ID",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestInteger"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminPermissionProvider/1.0.0/getAdminPermissionById.html": {
"post": {
"tags": ["AdminPermissionProvider"],
"summary": "权限详情查询",
"description": "ServiceResponse getAdminPermissionById(com.mmk.spi.ServiceRequest)",
"operationId": "getAdminPermissionById",
"parameters": [{
"in": "body",
"name": "request",
"description": "权限详情查询条件",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestInteger"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse权限查询返回"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminPermissionProvider/1.0.0/listAdminPermissions.html": {
"post": {
"tags": ["AdminPermissionProvider"],
"summary": "查询列表权限",
"description": "ServiceResponse listAdminPermissions(com.mmk.admin.dto.AdminPermissionRequestDTO)",
"operationId": "listAdminPermissions",
"parameters": [{
"in": "body",
"name": "request",
"description": "列表查询条件",
"required": false,
"schema": {
"$ref": "#/definitions/权限管理传入参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse权限信息 用于分页"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminPermissionProvider/1.0.0/updateAdminPermission.html": {
"post": {
"tags": ["AdminPermissionProvider"],
"summary": "权限更新",
"description": "ServiceResponse updateAdminPermission(com.mmk.admin.dto.AdminPermissionRequestDTO)",
"operationId": "updateAdminPermission",
"parameters": [{
"in": "body",
"name": "req",
"description": "权限更新参数",
"required": false,
"schema": {
"$ref": "#/definitions/权限管理传入参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminPermissionProvider/1.0.0/updateAdminPermissionStatus.html": {
"post": {
"tags": ["AdminPermissionProvider"],
"summary": "权限状态更新",
"description": "ServiceResponse updateAdminPermissionStatus(com.mmk.admin.dto.AdminPermissionRequestDTO)",
"operationId": "updateAdminPermissionStatus",
"parameters": [{
"in": "body",
"name": "request",
"description": "权限更新参数",
"required": false,
"schema": {
"$ref": "#/definitions/权限管理传入参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminRoleProvider/1.0.0/addAdminRole.html": {
"post": {
"tags": ["AdminRoleProvider"],
"summary": "角色新增",
"description": "ServiceResponse addAdminRole(com.mmk.admin.dto.AdminRoleRequestDTO)",
"operationId": "addAdminRole",
"parameters": [{
"in": "body",
"name": "req",
"required": false,
"schema": {
"$ref": "#/definitions/角色新增参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminRoleProvider/1.0.0/deleteAdminRole.html": {
"post": {
"tags": ["AdminRoleProvider"],
"summary": "角色删除",
"description": "ServiceResponse deleteAdminRole(com.mmk.spi.ServiceRequest)",
"operationId": "deleteAdminRole",
"parameters": [{
"in": "body",
"name": "req",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestLong"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminRoleProvider/1.0.0/getAdminRoleById.html": {
"post": {
"tags": ["AdminRoleProvider"],
"summary": "根据ID查询角色",
"description": "ServiceResponse getAdminRoleById(com.mmk.spi.ServiceRequest)",
"operationId": "getAdminRoleById",
"parameters": [{
"in": "body",
"name": "req",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestLong"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse角色编辑查询返回"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminRoleProvider/1.0.0/listAdminRoles.html": {
"post": {
"tags": ["AdminRoleProvider"],
"summary": "角色列表查询",
"description": "ServiceResponse listAdminRoles(com.mmk.admin.dto.AdminRoleRequestDTO)",
"operationId": "listAdminRoles",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/角色新增参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseAdminRoleResponseListDTO"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminRoleProvider/1.0.0/updateAdminRole.html": {
"post": {
"tags": ["AdminRoleProvider"],
"summary": "角色更新",
"description": "ServiceResponse updateAdminRole(com.mmk.admin.dto.AdminRoleRequestDTO)",
"operationId": "updateAdminRole",
"parameters": [{
"in": "body",
"name": "req",
"required": false,
"schema": {
"$ref": "#/definitions/角色新增参数"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/addAdminMenu.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "新增菜单",
"description": "ServiceResponse addAdminMenu(com.mmk.admin.dto.AdminMenuAddDTO)",
"operationId": "addAdminMenu",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/添加菜单"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/addAdminPermission.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "新增权限",
"description": "ServiceResponse addAdminPermission(com.mmk.admin.dto.permission.AdminPermissionAddDTO)",
"operationId": "addAdminPermission",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/添加权限"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/addAdminUserRole.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "添加角色",
"description": "ServiceResponse addAdminUserRole(com.mmk.admin.dto.role.AdminRoleAddDTO)",
"operationId": "addAdminUserRole",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/添加角色请求入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/adminUserDetails.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "管理员详情接口,编辑页面用",
"description": "ServiceResponse adminUserDetails(com.mmk.spi.ServiceRequest)",
"operationId": "adminUserDetails",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequest"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse新增管理员用户信息"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/changeAdminPassword.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "修改密码",
"description": "ServiceResponse changeAdminPassword(com.mmk.admin.dto.AdminUserChangePwdRequestDTO)",
"operationId": "changeAdminPassword",
"parameters": [{
"in": "body",
"name": "dto",
"required": false,
"schema": {
"$ref": "#/definitions/修改密码请求"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/editAdminMenu.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "修改菜单",
"description": "ServiceResponse editAdminMenu(com.mmk.admin.dto.AdminMenuEditDTO)",
"operationId": "editAdminMenu",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/编辑菜单请求"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/editAdminPermission.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "修改权限信息 ",
"description": "ServiceResponse editAdminPermission(com.mmk.admin.dto.permission.AdminPermissionEditDTO)",
"operationId": "editAdminPermission",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/修改权限请求"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/editAdminUserRole.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "修改角色,角色权限 、角色状态、角色名等",
"description": "ServiceResponse editAdminUserRole(com.mmk.admin.dto.role.AdminRoleEditDTO)",
"operationId": "editAdminUserRole",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/角色修改请求入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/getAdminUser.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "根据用户名获取用户信息",
"description": "AdminUserDTO getAdminUser(com.mmk.spi.ServiceRequest)",
"operationId": "getAdminUser",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestString"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/管理用户信息"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminDeptDTO.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取部门选择列表",
"description": "ServiceResponse listAdminDeptDTO(com.mmk.spi.ServiceRequest)",
"operationId": "listAdminDeptDTO",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestVoid"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseList部门下拉展示列表"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminMenuRoles.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取资源访问需要的角色",
"description": "List listAdminMenuRoles(com.mmk.spi.ServiceRequest)",
"operationId": "listAdminMenuRoles",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestVoid"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/AdminMenuRoleDTO"
}
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminMenus.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取菜单列表",
"description": "ServiceResponse listAdminMenus(com.mmk.admin.dto.menu.AdminMenuRequestDTO)",
"operationId": "listAdminMenus",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/菜单管理入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse菜单列表 包含分页参数"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminPermissions.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取权限列表",
"description": "ServiceResponse listAdminPermissions(com.mmk.admin.dto.permission.AdminPermissionRequestDTO)",
"operationId": "listAdminPermissions",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/权限列表请求入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse权限列表响应数据"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminRoleDTO.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取角色选择列表",
"description": "ServiceResponse listAdminRoleDTO(com.mmk.admin.dto.role.AdminRoleRequestDTO)",
"operationId": "listAdminRoleDTO",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/角色列表请求入参"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse角色列表响应 包含分页参数"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminUserMenus.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取当前登录用户所有授权菜单",
"description": "ServiceResponse listAdminUserMenus(com.mmk.spi.ServiceRequest)",
"operationId": "listAdminUserMenus",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestString"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseList用户所有授权菜单"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminUsername.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取指定角色下的所有用户",
"description": "Map listAdminUsername(com.mmk.spi.ServiceRequest)",
"operationId": "listAdminUsername",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestListInteger"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/AdminUserNameDTO"
}
}
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/listAdminUsers.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "获取管理员列表",
"description": "ServiceResponse listAdminUsers(com.mmk.admin.dto.AdminUserRequestDTO)",
"operationId": "listAdminUsers",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/管理用户列表请求"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseAdminUserResponseListDTO"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/modifyAdminUserStatus.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "修改账户状态",
"description": "ServiceResponse modifyAdminUserStatus(com.mmk.admin.dto.AdminUserStatusDTO)",
"operationId": "modifyAdminUserStatus",
"parameters": [{
"in": "body",
"name": "userStatusDTO",
"required": false,
"schema": {
"$ref": "#/definitions/管理用户状态"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponseVoid"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/resetAdminUserPwd.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "重置管理员密码",
"description": "ServiceResponse resetAdminUserPwd(com.mmk.admin.dto.AdminUserSaveDTO)",
"operationId": "resetAdminUserPwd",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/新增管理员用户信息"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/saveAdminUser.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "新增管理员",
"description": "ServiceResponse saveAdminUser(com.mmk.admin.dto.AdminUserSaveDTO)",
"operationId": "saveAdminUser",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/新增管理员用户信息"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/updateAdminUser.html": {
"post": {
"tags": ["AdminUserProvider"],
"summary": "修改管理员信息",
"description": "ServiceResponse updateAdminUser(com.mmk.admin.dto.AdminUserSaveDTO)",
"operationId": "updateAdminUser",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/新增管理员用户信息"
}
}],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ServiceResponse"
}
}
},
"deprecated": false
}
},
"/api/com.mmk.admin.api.AdminUserProvider/1.0.0/updateAdminUserLastLoginDate.html": {
"post": {
"tags": ["AdminUserProvider"],
"description": "void updateAdminUserLastLoginDate(com.mmk.spi.ServiceRequest)",
"operationId": "updateAdminUserLastLoginDate",
"parameters": [{
"in": "body",
"name": "request",
"required": false,
"schema": {
"$ref": "#/definitions/ServiceRequestString"
}
}],
"responses": {
"default": {
"description": "successful operation"
}
},
"deprecated": false
}
}
},
"definitions": {
"ServiceResponse": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"type": "object"
}
}
},
"ServiceResponseVoid": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/Void"
}
}
},
"Void": {
"type": "object"
},
"ServiceRequest": {
"type": "object",
"properties": {
"id": {
"type": "object"
}
}
},
"ServiceRequestLong": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
}
}
},
"ServiceResponse菜单返回": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/菜单返回"
}
}
},
"权限查询返回": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "权限id"
},
"name": {
"type": "string",
"description": "权限名称"
},
"type": {
"type": "integer",
"format": "int32",
"description": "权限种类"
},
"status": {
"type": "integer",
"format": "int32",
"description": "权限状态"
},
"code": {
"type": "string",
"description": "权限字段"
},
"description": {
"type": "string",
"description": "权限描述"
},
"createdDate": {
"type": "string",
"description": "创建时间"
},
"modifyDate": {
"type": "string",
"description": "更新时间"
},
"createdBy": {
"type": "integer",
"format": "int64",
"description": "创建人"
},
"modifyBy": {
"type": "integer",
"format": "int64",
"description": "更新人"
}
}
},
"菜单返回": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "菜单主键"
},
"parentId": {
"type": "integer",
"format": "int64",
"description": "父级主键"
},
"menuName": {
"type": "string",
"description": "菜单名称"
},
"url": {
"type": "string",
"description": "链接"
},
"icon": {
"type": "string",
"description": "图标"
},
"description": {
"type": "string",
"description": "描述"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型:0,菜单;1,按钮"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"createdDate": {
"type": "string",
"format": "date-time",
"description": "创建时间"
}
}
},
"ServiceResponse菜单列表 包含分页参数": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/菜单列表 包含分页参数"
}
}
},
"菜单列表 包含分页参数": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"menuDTOS": {
"type": "array",
"description": "菜单列表",
"items": {
"$ref": "#/definitions/菜单返回"
}
}
}
},
"菜单管理入参": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "菜单名称"
}
}
},
"权限管理传入参数": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"id": {
"type": "integer",
"format": "int64",
"description": "权限id"
},
"name": {
"type": "string",
"description": "权限名称"
},
"type": {
"type": "integer",
"format": "int32",
"description": "权限种类"
},
"status": {
"type": "integer",
"format": "int32",
"description": "权限状态"
},
"code": {
"type": "string",
"description": "权限字段"
},
"description": {
"type": "string",
"description": "权限描述"
}
}
},
"ServiceRequestInteger": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
}
}
},
"ServiceResponse权限查询返回": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/权限查询返回"
}
}
},
"ServiceResponse权限信息 用于分页": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/权限信息 用于分页"
}
}
},
"权限信息 用于分页": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"permissionResponseDTOS": {
"type": "array",
"description": "权限list",
"items": {
"$ref": "#/definitions/权限查询返回"
}
}
}
},
"角色新增参数": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"id": {
"type": "integer",
"format": "int64",
"description": "角色id"
},
"status": {
"type": "integer",
"format": "int32",
"description": "角色状态"
},
"deptId": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"roleName": {
"type": "string",
"description": "角色名称"
},
"permissionIds": {
"type": "array",
"description": "角色对应的权限idList",
"items": {
"type": "integer",
"format": "int64"
}
}
}
},
"ServiceResponse角色编辑查询返回": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/角色编辑查询返回"
}
}
},
"角色编辑查询返回": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "角色id"
},
"deptId": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"dept": {
"description": "部门名称",
"$ref": "#/definitions/部门下拉查询"
},
"roleName": {
"type": "string",
"description": "角色名称"
},
"permissions": {
"type": "array",
"description": "角色对应的权限",
"items": {
"$ref": "#/definitions/权限查询返回"
}
},
"createdDate": {
"type": "string",
"description": "创建时间"
},
"status": {
"type": "integer",
"format": "int32",
"description": "角色启用状态"
}
}
},
"部门下拉查询": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"parentId": {
"type": "integer",
"format": "int64",
"description": "上级部门id"
},
"deptName": {
"type": "string",
"description": "部门名称"
},
"children": {
"type": "array",
"description": "子部门",
"items": {
"$ref": "#/definitions/部门下拉查询"
}
}
}
},
"AdminRoleResponseListDTO": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"responseDTOS": {
"type": "array",
"items": {
"$ref": "#/definitions/角色编辑查询返回"
}
}
}
},
"ServiceResponseAdminRoleResponseListDTO": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/AdminRoleResponseListDTO"
}
}
},
"添加菜单": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"format": "int32",
"description": "菜单类型, 0 菜单 1 按钮"
},
"menuName": {
"type": "string",
"description": "菜单名"
},
"url": {
"type": "string",
"description": "菜单url"
},
"icon": {
"type": "string",
"description": "图标"
},
"description": {
"type": "string",
"description": "描述"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
},
"permissionId": {
"type": "integer",
"format": "int64",
"description": "权限id"
},
"parentId": {
"type": "integer",
"format": "int64",
"description": "父菜单id"
}
}
},
"添加权限": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "权限名"
},
"description": {
"type": "string",
"description": "权限描述"
}
}
},
"添加角色请求入参": {
"type": "object",
"properties": {
"roleName": {
"type": "string",
"description": "角色名"
},
"description": {
"type": "string",
"description": "描述"
},
"deptId": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"permissionIds": {
"type": "array",
"description": "权限id",
"items": {
"type": "integer",
"format": "int64"
}
}
}
},
"ServiceResponse新增管理员用户信息": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/新增管理员用户信息"
}
}
},
"新增管理员用户信息": {
"type": "object",
"properties": {
"userId": {
"type": "integer",
"format": "int64"
},
"username": {
"type": "string",
"description": "用户名"
},
"realName": {
"type": "string",
"description": "姓名"
},
"phone": {
"type": "string",
"description": "手机"
},
"email": {
"type": "string",
"description": "邮箱"
},
"password": {
"type": "string",
"description": "密码"
},
"deptId": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"roleIds": {
"type": "array",
"description": "角色id",
"items": {
"type": "integer",
"format": "int64"
}
},
"permissions": {
"type": "string",
"description": "用户所有权限"
}
}
},
"修改密码请求": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "ID"
},
"oldPassword": {
"type": "string",
"description": "原密码"
},
"newPassword": {
"type": "string",
"description": "新密码"
},
"repeatNewPasswrd": {
"type": "string",
"description": "确认新密码"
}
}
},
"编辑菜单请求": {
"type": "object",
"properties": {
"menuName": {
"type": "string",
"description": "菜单名"
},
"icon": {
"type": "string",
"description": "菜单图标"
},
"id": {
"type": "integer",
"format": "int64",
"description": "菜单id 必填"
},
"url": {
"type": "string",
"description": "菜单url"
},
"description": {
"type": "string",
"description": "描述"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态 0 可用"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "排序"
}
}
},
"修改权限请求": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "权限id"
},
"name": {
"type": "string",
"description": "名称"
},
"description": {
"type": "string",
"description": "描述"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
}
}
},
"角色修改请求入参": {
"type": "object",
"properties": {
"roleId": {
"type": "integer",
"format": "int64",
"description": "角色id"
},
"roleName": {
"type": "string",
"description": "角色名"
},
"description": {
"type": "string",
"description": "角色描述"
},
"status": {
"type": "integer",
"format": "int32",
"description": "角色状态"
},
"permissionIds": {
"type": "array",
"description": "角色权限",
"items": {
"type": "integer",
"format": "int64"
}
}
}
},
"管理用户信息": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "用户id"
},
"deptId": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"username": {
"type": "string",
"description": "用户名"
},
"password": {
"type": "string",
"description": "密码"
},
"realName": {
"type": "string",
"description": "姓名"
},
"email": {
"type": "string",
"description": "邮箱"
},
"phone": {
"type": "string",
"description": "手机"
},
"emailVerifiedTime": {
"type": "string",
"format": "date-time",
"description": "邮件验证时间"
},
"status": {
"type": "integer",
"format": "int32",
"description": "用户状态, 0 正常"
},
"role": {
"type": "array",
"description": "用户角色",
"items": {
"type": "string"
}
},
"roleIds": {
"type": "array",
"description": "角色id",
"items": {
"type": "integer",
"format": "int64"
}
}
}
},
"ServiceRequestString": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
}
},
"ServiceResponseList部门下拉展示列表": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/部门下拉展示列表"
}
}
}
},
"部门下拉展示列表": {
"type": "object",
"properties": {
"deptName": {
"type": "string",
"description": "部门名"
},
"id": {
"type": "integer",
"format": "int64",
"description": "部门id"
}
}
},
"ServiceRequestVoid": {
"type": "object",
"properties": {
"id": {
"$ref": "#/definitions/Void"
}
}
},
"AdminMenuRoleDTO": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"roleName": {
"type": "string"
}
}
},
"ServiceResponse权限列表响应数据": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/权限列表响应数据"
}
}
},
"权限列表响应数据": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"permissionResponseDTOS": {
"type": "array",
"description": "权限列表",
"items": {
"$ref": "#/definitions/权限列表详情"
}
}
}
},
"权限列表详情": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "权限名"
},
"createdDate": {
"type": "string",
"format": "date-time",
"description": "权限创建时间"
},
"id": {
"type": "integer",
"format": "int64",
"description": "权限主键"
},
"description": {
"type": "string",
"description": "描述"
},
"status": {
"type": "integer",
"format": "int32",
"description": "状态 0 正常"
}
}
},
"权限列表请求入参": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"description": "权限名"
}
}
},
"ServiceResponse角色列表响应 包含分页参数": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/角色列表响应 包含分页参数"
}
}
},
"角色列表响应 包含分页参数": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"roleResponseDTOS": {
"type": "array",
"description": "角色列表",
"items": {
"$ref": "#/definitions/角色列表返回数据"
}
}
}
},
"角色列表返回数据": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "角色id"
},
"roleName": {
"type": "string",
"description": "角色名"
},
"description": {
"type": "string",
"description": "角色描述"
},
"status": {
"type": "integer",
"format": "int32",
"description": "角色状态 0 正常 1 关闭"
},
"deptId": {
"type": "integer",
"format": "int64",
"description": "部门id"
},
"createdBy": {
"type": "integer",
"format": "int64",
"description": "创建人"
},
"modifyBy": {
"type": "integer",
"format": "int64",
"description": "修改人"
},
"createdDate": {
"type": "string",
"format": "date-time",
"description": "创建使劲按"
},
"modifyDate": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"deptName": {
"type": "string",
"description": "角色部门"
},
"permissionName": {
"type": "string",
"description": "角色所有的权限"
}
}
},
"角色列表请求入参": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"roleName": {
"type": "string",
"description": "角色名"
}
}
},
"ServiceResponseList用户所有授权菜单": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/用户所有授权菜单"
}
}
}
},
"用户所有授权菜单": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "菜单id"
},
"createdBy": {
"type": "integer",
"format": "int64",
"description": "创建人"
},
"modifyBy": {
"type": "integer",
"format": "int64",
"description": "修改人"
},
"createdDate": {
"type": "string",
"format": "date-time",
"description": "创建时间"
},
"modifyDate": {
"type": "string",
"format": "date-time",
"description": "修改时间"
},
"parentId": {
"type": "integer",
"format": "int64",
"description": "父菜单id"
},
"menuName": {
"type": "string",
"description": "菜单名"
},
"url": {
"type": "string",
"description": "菜单url"
},
"description": {
"type": "string",
"description": "描述"
},
"icon": {
"type": "string",
"description": "图标"
},
"type": {
"type": "integer",
"format": "int32",
"description": "类型 0 菜单 1 按钮"
},
"sort": {
"type": "integer",
"format": "int32",
"description": "菜单排序"
},
"children": {
"type": "array",
"description": "子菜单",
"items": {
"$ref": "#/definitions/用户所有授权菜单"
}
}
}
},
"AdminUserNameDTO": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"userId": {
"type": "integer",
"format": "int64"
}
}
},
"ServiceRequestListInteger": {
"type": "object",
"properties": {
"id": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
}
},
"AdminUserResponseListDTO": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"count": {
"type": "integer",
"format": "int64"
},
"userResponseDTOS": {
"type": "array",
"items": {
"$ref": "#/definitions/管理员用户列表信息"
}
}
}
},
"ServiceResponseAdminUserResponseListDTO": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"msg": {
"type": "string"
},
"data": {
"$ref": "#/definitions/AdminUserResponseListDTO"
}
}
},
"管理员用户列表信息": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "用户id"
},
"realName": {
"type": "string",
"description": "姓名"
},
"username": {
"type": "string",
"description": "账号"
},
"phone": {
"type": "string",
"description": "手机"
},
"deptName": {
"type": "string",
"description": "部门名"
},
"roleNames": {
"type": "string",
"description": "用户角色"
},
"menus": {
"type": "string",
"description": "权限展示"
},
"dataPermission": {
"type": "string",
"description": "数据权限"
},
"status": {
"type": "integer",
"format": "int32",
"description": "账号状态 0 正常, 1 禁用"
},
"lastLoginDate": {
"type": "string",
"format": "date-time",
"description": "最后登录时间"
}
}
},
"管理用户列表请求": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32"
},
"pageSize": {
"type": "integer",
"format": "int32"
},
"username": {
"type": "string",
"description": "账号"
},
"realName": {
"type": "string",
"description": "姓名"
},
"phone": {
"type": "string",
"description": "手机"
},
"email": {
"type": "string",
"description": "邮箱"
}
}
},
"管理用户状态": {
"type": "object",
"properties": {
"status": {
"type": "integer",
"format": "int32",
"description": "状态"
},
"userId": {
"type": "integer",
"format": "int64",
"description": "用户id"
}
}
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant