作者 tangxuhui

修正:共创用户功能 定义

version: v1
kind: Attribute
metadata:
name: parentId
description: 父级id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: sort
description: 排序
type:
primitive: int
... ...
version: v1
kind: Attribute
metadata:
name: companyId
description: 公司id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: parentId
description: 父级组织ID
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: desc
description: 描述
type:
primitive: string
... ...
... ... @@ -2,17 +2,17 @@ version: v1
kind: Schema
metadata:
name: org
description: 组织 organization
description: 组织organization
attributes:
- ref: orgId
required: true
- ref: companyId
required: true
- ref: createAt
- ref: createdAt
required: true
- ref: updateAt
- ref: updatedAt
required: true
- ref: deleteAt
- ref: deletedAt
required: true
- ref: orgCode
required: true
... ...
... ... @@ -8,9 +8,9 @@ metadata:
required: true
- ref: companyId
required: true
- ref: createAt
- ref: createdAt
required: true
- ref: updateAt
- ref: updatedAt
required: true
- ref: orgCode
required: true
... ...
... ... @@ -16,7 +16,7 @@ metadata:
required: true
- ref: desc
required: true
- ref: createAt
- ref: createdAt
required: true
- ref: updateAt
- ref: updatedAt
required: true
... ...
... ... @@ -42,7 +42,7 @@ metadata:
description: 启用状态(启用:1 禁用:2)
type:
primitive: int
- ref: createAt
- ref: createdAt
required: true
- ref: updateAt
- ref: updatedAt
required: true
... ...
... ... @@ -22,7 +22,7 @@ metadata:
description: 关联的用户 (冗余)
type:
array: int64
- ref: createAt
- ref: createdAt
required: true
- ref: updatedAt
required: true
- ref: updateAt
required: true
\ No newline at end of file
... ...
version: v1
kind: Method
metadata:
name: cooperationUsersList
name: cooperationUserList
type: query
description: 返回共创用户信息列表
payload:
... ...
version: v1
kind: Method
metadata:
name: CooperationUserResetPassword
name: cooperationUserResetPassword
type: command
description: 批量重置密码
payload:
... ...