作者 tangxuhui

更新

正在显示 26 个修改的文件 包含 186 行增加78 行删除
... ... @@ -39,11 +39,11 @@ metadata:
- name: usersOrg
description: 关联的组织机构
type:
array: org
array: orgs
- name: usersRole
description: 关联的组织结构
type:
array: role
array: roles
- name: avator
description: 头像
type:
... ...
version: v1
kind: Schema
metadata:
name: org
name: orgs
description: 组织organization
attributes:
- ref: orgId
... ...
version: v1
kind: Schema
metadata:
name: role
description: 角色 (base)
name: roleListItem
description: 角色列表
attributes:
- ref: roleId
required: true
... ...
version: v1
kind: Schema
metadata:
name: role
name: roles
description: 角色 (base)
attributes:
- ref: roleId
... ...
... ... @@ -25,11 +25,11 @@ metadata:
- name: usersOrg
description: 用户关联的组织
type:
array: org
array: orgs
- name: usersRole
description: 用户关联的角色
type:
array: role
array: roles
- name: favoriteMenus
description: 收藏的菜单(工作台)(菜单编码列表)
type:
... ...
... ... @@ -2,4 +2,4 @@ version: v1
kind: Service
metadata:
name: loginAccess
description: 登录访问
description: web端登录访问
... ...
version: v1
kind: Method
metadata:
name: roleList
type: query
description: 返回role列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: roles
type:
array: roles
required: true
... ...
... ... @@ -5,18 +5,18 @@ metadata:
type: command
description: 创建组织管理
payload:
- ref: companyId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
- name: isOrg
required: true
- ref: parentId
required: true
- ref: companyId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
- name: isOrg
required: true
- ref: parentId
required: true
result:
- name: org
type:
schema: org
required: true
- name: org
type:
schema: orgs
required: true
... ...
... ... @@ -5,10 +5,10 @@ metadata:
type: query
description: 返回组织管理
payload:
- ref: orgId
required: true
- ref: orgId
required: true
result:
- name: org
type:
schema: org
required: true
- name: org
type:
schema: orgs
required: true
... ...
... ... @@ -5,20 +5,20 @@ metadata:
type: query
description: 返回组织管理列表
payload:
- ref: offset
required: true
- ref: limit
required: true
- ref: orgCode
required: false
- ref: depName
required: false
- ref: parentId
required: false
- ref: offset
required: true
- ref: limit
required: true
- ref: orgCode
required: false
- ref: depName
required: false
- ref: parentId
required: false
result:
- ref: count
required: true
- name: orgs
type:
array: org
required: true
- ref: count
required: true
- name: orgs
type:
array: orgs
required: true
... ...
... ... @@ -5,10 +5,10 @@ metadata:
type: command
description: 移除组织管理
payload:
- ref: orgId
required: true
- ref: orgId
required: true
result:
- name: org
type:
schema: org
required: true
- name: org
type:
schema: orgs
required: true
... ...
... ... @@ -5,18 +5,18 @@ metadata:
type: command
description: 更新组织管理
payload:
- ref: orgId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
- name: isOrg
required: true
- ref: parentId
required: true
- ref: orgId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
- name: isOrg
required: true
- ref: parentId
required: true
result:
- name: org
type:
schema: org
required: true
- name: org
type:
schema: orgs
required: true
... ...
version: v1
kind: Method
metadata:
name: orgAdd
type: command
description: 创建组织管理
payload:
- ref: companyId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
- name: isOrg
required: true
- ref: parentId
required: true
result:
- name: org
type:
schema: orgs
required: true
... ...
version: v1
kind: Method
metadata:
name: orgGet
type: query
description: 返回组织管理
payload:
- ref: orgId
required: true
result:
- name: org
type:
schema: orgs
required: true
... ...
version: v1
kind: Method
metadata:
name: orgList
type: query
description: 返回组织管理列表
result:
- ref: count
required: true
- name: orgs
type:
array: orgs
required: true
... ...
version: v1
kind: Method
metadata:
name: orgRemove
type: command
description: 移除组织管理
payload:
- ref: orgId
required: true
result:
- name: org
type:
schema: orgs
required: true
... ...
version: v1
kind: Method
metadata:
name: orgUpdate
type: command
description: 更新组织管理
payload:
- ref: orgId
required: true
- ref: orgCode
required: true
- ref: orgName
required: true
- name: isOrg
required: true
- ref: parentId
required: true
result:
- name: org
type:
schema: orgs
required: true
... ...
version: v1
kind: Service
metadata:
name: orgs
description: 组织管理
... ...
... ... @@ -7,10 +7,10 @@ metadata:
payload:
- name: role
type:
schema: role
schema: roles
required: true
result:
- name: role
type:
schema: role
schema: roles
required: true
... ...
... ... @@ -14,5 +14,5 @@ metadata:
required: true
- name: roles
type:
array: role
array: roles
required: true
... ...
... ... @@ -10,7 +10,7 @@ metadata:
result:
- name: roles
type:
array: role
array: roles
required: true
- name: menus
type:
... ...
... ... @@ -10,5 +10,5 @@ metadata:
result:
- name: role
type:
schema: role
schema: roles
required: true
... ...
... ... @@ -7,10 +7,10 @@ metadata:
payload:
- name: role
type:
schema: role
schema: roles
required: true
result:
- name: role
type:
schema: role
schema: roles
required: true
... ...
... ... @@ -7,8 +7,8 @@ metadata:
result:
- name: roles
type:
array: role
array: roles
required: true
- name: orgs
type:
array: org
array: orgs
... ...
... ... @@ -51,11 +51,11 @@ metadata:
- name: usersOrg
description: 关联的组织机构
type:
array: org
array: orgs
- name: usersRole
description: 关联的角色
type:
array: role
array: roles
- name: avator
description: 头像
type:
... ...
... ... @@ -36,11 +36,11 @@ metadata:
- name: usersOrg
description: 关联的组织机构
type:
array: org
array: orgs
- name: usersRole
description: 关联的组织结构
type:
array: role
array: roles
- name: avator
description: 头像
type:
... ...