作者 tangxuhui

修正:共创用户功能 定义

  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: parentId
  5 + description: 父级id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: sort
  5 + description: 排序
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 公司id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: parentId
  5 + description: 父级组织ID
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: desc
  5 + description: 描述
  6 + type:
  7 + primitive: string
@@ -2,17 +2,17 @@ version: v1 @@ -2,17 +2,17 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: org 4 name: org
5 - description: 组织 organization 5 + description: 组织organization
6 attributes: 6 attributes:
7 - ref: orgId 7 - ref: orgId
8 required: true 8 required: true
9 - ref: companyId 9 - ref: companyId
10 required: true 10 required: true
11 - - ref: createAt 11 + - ref: createdAt
12 required: true 12 required: true
13 - - ref: updateAt 13 + - ref: updatedAt
14 required: true 14 required: true
15 - - ref: deleteAt 15 + - ref: deletedAt
16 required: true 16 required: true
17 - ref: orgCode 17 - ref: orgCode
18 required: true 18 required: true
@@ -8,9 +8,9 @@ metadata: @@ -8,9 +8,9 @@ metadata:
8 required: true 8 required: true
9 - ref: companyId 9 - ref: companyId
10 required: true 10 required: true
11 - - ref: createAt 11 + - ref: createdAt
12 required: true 12 required: true
13 - - ref: updateAt 13 + - ref: updatedAt
14 required: true 14 required: true
15 - ref: orgCode 15 - ref: orgCode
16 required: true 16 required: true
@@ -16,7 +16,7 @@ metadata: @@ -16,7 +16,7 @@ metadata:
16 required: true 16 required: true
17 - ref: desc 17 - ref: desc
18 required: true 18 required: true
19 - - ref: createAt 19 + - ref: createdAt
20 required: true 20 required: true
21 - - ref: updateAt 21 + - ref: updatedAt
22 required: true 22 required: true
@@ -42,7 +42,7 @@ metadata: @@ -42,7 +42,7 @@ metadata:
42 description: 启用状态(启用:1 禁用:2) 42 description: 启用状态(启用:1 禁用:2)
43 type: 43 type:
44 primitive: int 44 primitive: int
45 - - ref: createAt 45 + - ref: createdAt
46 required: true 46 required: true
47 - - ref: updateAt 47 + - ref: updatedAt
48 required: true 48 required: true
@@ -22,7 +22,7 @@ metadata: @@ -22,7 +22,7 @@ metadata:
22 description: 关联的用户 (冗余) 22 description: 关联的用户 (冗余)
23 type: 23 type:
24 array: int64 24 array: int64
25 - - ref: createAt 25 + - ref: createdAt
26 required: true 26 required: true
27 - - ref: updateAt 27 + - ref: updatedAt
28 required: true 28 required: true
1 version: v1 1 version: v1
2 kind: Method 2 kind: Method
3 metadata: 3 metadata:
4 - name: cooperationUsersList 4 + name: cooperationUserList
5 type: query 5 type: query
6 description: 返回共创用户信息列表 6 description: 返回共创用户信息列表
7 payload: 7 payload:
1 version: v1 1 version: v1
2 kind: Method 2 kind: Method
3 metadata: 3 metadata:
4 - name: CooperationUserResetPassword 4 + name: cooperationUserResetPassword
5 type: command 5 type: command
6 description: 批量重置密码 6 description: 批量重置密码
7 payload: 7 payload: