正在显示
88 个修改的文件
包含
537 行增加
和
546 行删除
@@ -9,13 +9,13 @@ metadata: | @@ -9,13 +9,13 @@ metadata: | ||
9 | post: / | 9 | post: / |
10 | - method: orgUpdate | 10 | - method: orgUpdate |
11 | route: | 11 | route: |
12 | - put: /{Id} | 12 | + put: /{orgId} |
13 | - method: orgList | 13 | - method: orgList |
14 | route: | 14 | route: |
15 | post: /search | 15 | post: /search |
16 | - method: orgGet | 16 | - method: orgGet |
17 | route: | 17 | route: |
18 | - get: /{Id} | 18 | + get: /{orgId} |
19 | - method: orgRemove | 19 | - method: orgRemove |
20 | route: | 20 | route: |
21 | - delete: /{Id} | 21 | + delete: /{orgId} |
@@ -9,16 +9,16 @@ metadata: | @@ -9,16 +9,16 @@ metadata: | ||
9 | post: / | 9 | post: / |
10 | - method: roleUpdate | 10 | - method: roleUpdate |
11 | route: | 11 | route: |
12 | - put: /{Id} | 12 | + put: /{roleId} |
13 | - method: roleList | 13 | - method: roleList |
14 | route: | 14 | route: |
15 | post: /search | 15 | post: /search |
16 | - method: roleGet | 16 | - method: roleGet |
17 | route: | 17 | route: |
18 | - get: /{Id} | 18 | + get: /{roleId} |
19 | - method: roleUserInfo | 19 | - method: roleUserInfo |
20 | route: | 20 | route: |
21 | - get: /role-user/{Id} | 21 | + get: /role-user/{roleId} |
22 | - method: roleUserAdd | 22 | - method: roleUserAdd |
23 | route: | 23 | route: |
24 | post: /role-user | 24 | post: /role-user |
@@ -33,4 +33,4 @@ metadata: | @@ -33,4 +33,4 @@ metadata: | ||
33 | get: /role-menu/before-edit | 33 | get: /role-menu/before-edit |
34 | - method: roleMenuEdit | 34 | - method: roleMenuEdit |
35 | route: | 35 | route: |
36 | - put: /role-menu/{Id} | 36 | + put: /role-menu/{roleId} |
@@ -15,7 +15,7 @@ metadata: | @@ -15,7 +15,7 @@ metadata: | ||
15 | post: /company-user/search | 15 | post: /company-user/search |
16 | - method: companyUserGet | 16 | - method: companyUserGet |
17 | route: | 17 | route: |
18 | - get: /company-user/{Id} | 18 | + get: /company-user/{userId} |
19 | - method: companyUserEnable | 19 | - method: companyUserEnable |
20 | route: | 20 | route: |
21 | put: /company-user/enable | 21 | put: /company-user/enable |
@@ -33,7 +33,7 @@ metadata: | @@ -33,7 +33,7 @@ metadata: | ||
33 | post: /cooperation-user/search | 33 | post: /cooperation-user/search |
34 | - method: cooperationUserGet | 34 | - method: cooperationUserGet |
35 | route: | 35 | route: |
36 | - get: /cooperation-user/{Id} | 36 | + get: /cooperation-user/{userId} |
37 | - method: cooperationUserEnable | 37 | - method: cooperationUserEnable |
38 | route: | 38 | route: |
39 | put: /cooperation-user/enable | 39 | put: /cooperation-user/enable |
不能预览此文件类型
不能预览此文件类型
@@ -2,29 +2,23 @@ version: v1 | @@ -2,29 +2,23 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: company | 4 | name: company |
5 | - description: 公司 | 5 | + description: 企业信息 (base) |
6 | attributes: | 6 | attributes: |
7 | - - ref: createdAt | ||
8 | - required: true | ||
9 | - - ref: updatedAt | ||
10 | - required: true | ||
11 | - - ref: address | ||
12 | - required: true | ||
13 | - - ref: businessLicense | ||
14 | - required: true | ||
15 | - - ref: companyId | ||
16 | - required: true | ||
17 | - - ref: companyName | ||
18 | - required: true | ||
19 | - - ref: contacts | ||
20 | - required: true | ||
21 | - - ref: industryCategory | ||
22 | - required: true | ||
23 | - - ref: logo | ||
24 | - required: true | ||
25 | - - ref: registStatus | ||
26 | - required: true | ||
27 | - - ref: taxpayerCode | ||
28 | - required: true | ||
29 | - - ref: scale | ||
30 | - required: true | 7 | + - ref: companyId |
8 | + required: true | ||
9 | + - name: companyConfig | ||
10 | + description: 企业配置信息 | ||
11 | + type: | ||
12 | + schema: companyConfig | ||
13 | + - name: companyInfo | ||
14 | + description: 企业基本信息 | ||
15 | + type: | ||
16 | + schema: companyInfo | ||
17 | + - name: status | ||
18 | + description: 公司状态 | ||
19 | + type: | ||
20 | + primitive: int | ||
21 | + - ref: createdAt | ||
22 | + required: false | ||
23 | + - ref: updatedAt | ||
24 | + required: false |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: companyInfo | ||
5 | + description: 公司信息 | ||
6 | + attributes: | ||
7 | + - ref: companyName | ||
8 | + required: true | ||
9 | + - ref: scale | ||
10 | + required: true | ||
11 | + - ref: logo | ||
12 | + required: true | ||
13 | + - ref: address | ||
14 | + required: true | ||
15 | + - ref: industryCategory | ||
16 | + required: true | ||
17 | + - ref: contacts | ||
18 | + required: true | ||
19 | + - name: registTime | ||
20 | + description: 注册时间 | ||
21 | + type: | ||
22 | + primitive: datetime | ||
23 | + - name: registStatus | ||
24 | + description: 注册状态 1:已注册 2:待认证 3:已认证 | ||
25 | + type: | ||
26 | + primitive: int |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: companyUser | ||
5 | - description: web页面上公司用户数据展示 | ||
6 | - attributes: | ||
7 | - - name: usersId | ||
8 | - description: 用户的id | ||
9 | - type: | ||
10 | - primitive: int64 | ||
11 | - - name: usersCode | ||
12 | - description: 用户编号 | ||
13 | - type: | ||
14 | - primitive: string | ||
15 | - - name: usersName | ||
16 | - description: 用户名称 | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - - name: organizationId | ||
20 | - description: 组织机构id | ||
21 | - type: | ||
22 | - primitive: int64 | ||
23 | - - name: departmentId | ||
24 | - description: 部门id | ||
25 | - type: | ||
26 | - primitive: int64 | ||
27 | - - name: enableStatus | ||
28 | - description: 启用状态(启用:1 禁用:2) | ||
29 | - type: | ||
30 | - primitive: int | ||
31 | - - name: phone | ||
32 | - description: 手机号 | ||
33 | - type: | ||
34 | - primitive: string | ||
35 | - - name: email | ||
36 | - description: 邮箱 | ||
37 | - type: | ||
38 | - primitive: string | ||
39 | - - name: usersOrg | ||
40 | - description: 关联的组织机构 | ||
41 | - type: | ||
42 | - array: orgs | ||
43 | - - name: usersRole | ||
44 | - description: 关联的组织结构 | ||
45 | - type: | ||
46 | - array: roles | ||
47 | - - name: avator | ||
48 | - description: 头像 | ||
49 | - type: | ||
50 | - primitive: string |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: companyUserListItem | ||
5 | - description: 用户列表 | ||
6 | - attributes: | ||
7 | - - ref: usersId | ||
8 | - required: true | ||
9 | - - ref: usersCode | ||
10 | - required: true | ||
11 | - - name: phone | ||
12 | - description: 手机号 | ||
13 | - type: | ||
14 | - primitive: string | ||
15 | - - name: departmentName | ||
16 | - description: 部门名称 | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - - name: orgName | ||
20 | - description: 组织名称 | ||
21 | - type: | ||
22 | - primitive: string | ||
23 | - - name: enableStatus | ||
24 | - description: 启用状态(启用:1 禁用:2) | ||
25 | - type: | ||
26 | - primitive: int | ||
27 | - - name: enableStatusMsg | ||
28 | - description: 启用状态名称 | ||
29 | - type: | ||
30 | - primitive: string |
1 | version: v1 | 1 | version: v1 |
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | - name: roleListItem | ||
5 | - description: 角色列表 | 4 | + name: cooperationMode |
5 | + description: 共创模式实体 | ||
6 | attributes: | 6 | attributes: |
7 | - - ref: roleId | ||
8 | - required: true | ||
9 | - - ref: orgId | ||
10 | - required: true | ||
11 | - - ref: orgName | ||
12 | - required: true | ||
13 | - - ref: roleName | ||
14 | - required: true | ||
15 | - - ref: desc | ||
16 | - required: true | ||
17 | - - ref: createdAt | ||
18 | - required: true | ||
19 | - - ref: updatedAt | ||
20 | - required: true | 7 | + - ref: cooperationModeId |
8 | + required: true | ||
9 | + - ref: cooperationModeNumber | ||
10 | + description: 模式编码,唯一确定 | ||
11 | + required: true | ||
12 | + - ref: cooperationModeName | ||
13 | + description: 模式名称,唯一确定 | ||
14 | + required: true | ||
15 | + - ref: status | ||
16 | + description: 共创模式状态,1启用,2禁用 | ||
17 | + required: true | ||
18 | + - ref: remarks | ||
19 | + required: true | ||
20 | + - ref: operator | ||
21 | + required: true | ||
22 | + - ref: operateTime | ||
23 | + required: true | ||
24 | + - ref: updatedAt | ||
25 | + required: true | ||
26 | + - ref: deletedAt | ||
27 | + required: true | ||
28 | + - ref: createdAt | ||
29 | + required: true |
allied-creation-gateway/schemas/ext.yaml
已删除
100644 → 0
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: ext | ||
5 | - description: 冗余附加数据 | ||
6 | - attributes: | ||
7 | - - ref: usersName | ||
8 | - required: true | ||
9 | - - ref: orgName | ||
10 | - required: true | ||
11 | - - ref: phone | ||
12 | - required: true | ||
13 | - - ref: depName | ||
14 | - required: true | ||
15 | - - name: parentDepName | ||
16 | - description: 父级部门名称 | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - required: true |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: noticeSettingModule | 4 | name: noticeSettingModule |
5 | - description: 编排消息模块列表 | 5 | + description: web页面编排消息模块列表 |
6 | attributes: | 6 | attributes: |
7 | - ref: module | 7 | - ref: module |
8 | required: true | 8 | required: true |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: noticeSettingParam | 4 | name: noticeSettingParam |
5 | - description: 编排消息需要的变量 | 5 | + description: web页面上编排消息需要的变量 |
6 | attributes: | 6 | attributes: |
7 | - name: paramCode | 7 | - name: paramCode |
8 | description: 变量的代码标识 | 8 | description: 变量的代码标识 |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: noticeSettingProfile | 4 | name: noticeSettingProfile |
5 | - description: 编排消息需要的候选参数 | 5 | + description: web页面上编排消息需要的候选参数 |
6 | attributes: | 6 | attributes: |
7 | - name: paramList | 7 | - name: paramList |
8 | description: 可选变量列表 | 8 | description: 可选变量列表 |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: orgListItem | ||
5 | - description: 组织列表项 | ||
6 | - attributes: | ||
7 | - - ref: orgId | ||
8 | - required: true | ||
9 | - - ref: companyId | ||
10 | - required: true | ||
11 | - - ref: createdAt | ||
12 | - required: true | ||
13 | - - ref: updatedAt | ||
14 | - required: true | ||
15 | - - ref: orgCode | ||
16 | - required: true | ||
17 | - - ref: orgName | ||
18 | - required: true | ||
19 | - - name: isOrg | ||
20 | - required: true | ||
21 | - - ref: parentId | ||
22 | - required: true | ||
23 | - - name: parentName | ||
24 | - description: 父级部门名称 | ||
25 | - type: | ||
26 | - primitive: string |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: roleDetail | ||
5 | - description: 角色详细数据 | ||
6 | - attributes: | ||
7 | - - ref: roleId | ||
8 | - required: true | ||
9 | - - ref: companyId | ||
10 | - required: true | ||
11 | - - ref: orgId | ||
12 | - required: true | ||
13 | - - ref: orgName | ||
14 | - required: true | ||
15 | - - ref: roleName | ||
16 | - required: true | ||
17 | - - ref: desc | ||
18 | - required: true | ||
19 | - - name: roleMenu | ||
20 | - description: 角色拥有的权限菜单 | ||
21 | - type: | ||
22 | - array: roleMenu | ||
23 | - - name: roleUser | ||
24 | - description: 关联的用户 | ||
25 | - type: | ||
26 | - array: roleUser |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: roleUser | ||
5 | - description: 角色下关联的用户 | ||
6 | - attributes: | ||
7 | - - ref: usersId | ||
8 | - required: true | ||
9 | - - ref: usersCode | ||
10 | - required: true | ||
11 | - - ref: usersName | ||
12 | - required: true | ||
13 | - - ref: orgId | ||
14 | - required: true | ||
15 | - - ref: orgName | ||
16 | - required: true |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: roleUserInfo | ||
5 | - description: 角色下关联用户的详情 | ||
6 | - attributes: | ||
7 | - - ref: roleId | ||
8 | - required: true | ||
9 | - - ref: roleName | ||
10 | - required: true | ||
11 | - - ref: desc | ||
12 | - required: true | ||
13 | - - name: roleUser | ||
14 | - description: 关联的用户 | ||
15 | - type: | ||
16 | - array: roleUser | ||
17 | - - name: notInRoleUser | ||
18 | - description: 未关联的用户列表 | ||
19 | - type: | ||
20 | - array: roleUser |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: userListItem | ||
5 | - description: 用户列表 | ||
6 | - attributes: | ||
7 | - - ref: usersId | ||
8 | - required: true | ||
9 | - - ref: usersCode | ||
10 | - required: true | ||
11 | - - name: phone | ||
12 | - description: 手机号 | ||
13 | - type: | ||
14 | - primitive: string | ||
15 | - - name: departmentName | ||
16 | - description: 部门名称 | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - - name: orgName | ||
20 | - description: 组织名称 | ||
21 | - type: | ||
22 | - primitive: string | ||
23 | - - name: enableStatus | ||
24 | - description: 启用状态(启用:1 禁用:2) | ||
25 | - type: | ||
26 | - primitive: int | ||
27 | - - name: enableStatusMsg | ||
28 | - description: 启用状态名称 | ||
29 | - type: | ||
30 | - primitive: string |
@@ -4,45 +4,43 @@ metadata: | @@ -4,45 +4,43 @@ metadata: | ||
4 | name: users | 4 | name: users |
5 | description: 用户 | 5 | description: 用户 |
6 | attributes: | 6 | attributes: |
7 | + - ref: createdAt | ||
8 | + required: true | ||
9 | + - ref: deletedAt | ||
10 | + required: true | ||
11 | + - ref: updatedAt | ||
12 | + required: true | ||
13 | + - ref: avator | ||
14 | + required: true | ||
15 | + - ref: cooperationCompany | ||
16 | + required: true | ||
17 | + - ref: cooperationDeadline | ||
18 | + required: true | ||
19 | + - ref: email | ||
20 | + required: true | ||
21 | + - ref: enableStatus | ||
22 | + required: true | ||
23 | + - ref: favoriteMenus | ||
24 | + required: true | ||
25 | + - ref: phone | ||
26 | + required: true | ||
27 | + - ref: status | ||
28 | + required: true | ||
29 | + - ref: usersCode | ||
30 | + required: true | ||
7 | - ref: usersId | 31 | - ref: usersId |
8 | required: true | 32 | required: true |
9 | - ref: companyId | 33 | - ref: companyId |
10 | required: true | 34 | required: true |
11 | - - ref: usersBaseId | 35 | + - ref: companyName |
36 | + - ref: orgId | ||
12 | required: true | 37 | required: true |
13 | - - ref: usersType | 38 | + - ref: orgName |
39 | + - ref: usersName | ||
14 | required: true | 40 | required: true |
15 | - - ref: usersCode | 41 | + - ref: usersOrg |
16 | required: true | 42 | required: true |
17 | - - name: organizationId | ||
18 | - description: 组织机构 | ||
19 | - type: | ||
20 | - primitive: int64 | ||
21 | - - name: departmentId | ||
22 | - description: 所属部门 | ||
23 | - type: | ||
24 | - primitive: int64 | ||
25 | - - name: usersOrg | ||
26 | - description: 用户关联的组织 | ||
27 | - type: | ||
28 | - array: orgs | ||
29 | - - name: usersRole | ||
30 | - description: 用户关联的角色 | ||
31 | - type: | ||
32 | - array: roles | ||
33 | - - name: favoriteMenus | ||
34 | - description: 收藏的菜单(工作台)(菜单编码列表) | ||
35 | - type: | ||
36 | - array: string | ||
37 | - - name: cooperationInfo | ||
38 | - description: 共创信息 (共创用户有效) | ||
39 | - type: | ||
40 | - schema: cooperationInfo | ||
41 | - - name: enableStatus | ||
42 | - description: 启用状态(启用:1 禁用:2) | ||
43 | - type: | ||
44 | - primitive: int | ||
45 | - - ref: createdAt | 43 | + - ref: usersRole |
46 | required: true | 44 | required: true |
47 | - - ref: updatedAt | 45 | + - ref: usersType |
48 | required: true | 46 | required: true |
1 | -version: v1 | ||
2 | -kind: Schema | ||
3 | -metadata: | ||
4 | - name: usersBase | ||
5 | - description: 用户(base) | ||
6 | - attributes: | ||
7 | - - ref: usersBaseId | ||
8 | - required: true | ||
9 | - - name: usersInfo | ||
10 | - description: 用户信息 | ||
11 | - type: | ||
12 | - schema: usersInfo | ||
13 | - - name: phoneAuth | ||
14 | - description: 手机认证 | ||
15 | - type: | ||
16 | - schemal: phoneAuth | ||
17 | - - name: im | ||
18 | - description: IM信息 | ||
19 | - type: | ||
20 | - schemal: im | ||
21 | - - name: relatedUsers | ||
22 | - description: 关联的用户 (冗余) | ||
23 | - type: | ||
24 | - array: int64 | ||
25 | - - ref: createdAt | ||
26 | - required: true | ||
27 | - - ref: updatedAt | ||
28 | - required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: removeOrg | 4 | + name: createCooperationMode |
5 | type: command | 5 | type: command |
6 | - description: 移除组织管理 | 6 | + description: 创建共创模式服务 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - name: cooperationMode |
9 | + type: | ||
10 | + schema: cooperationMode | ||
11 | + required: true | ||
10 | result: | 12 | result: |
11 | - - name: org | 13 | + - name: cooperationMode |
12 | type: | 14 | type: |
13 | - schema: orgs | 15 | + schema: cooperationMode |
14 | required: true | 16 | required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: getOrg | 4 | + name: getCooperationMode |
5 | type: query | 5 | type: query |
6 | - description: 返回组织管理 | 6 | + description: 返回共创模式服务 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - ref: cooperationModeId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: org | ||
12 | - type: | ||
13 | - schema: orgs | ||
14 | - required: true | 11 | + - name: cooperationMode |
12 | + type: | ||
13 | + schema: cooperationMode | ||
14 | + required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: roleList | 4 | + name: listCooperationMode |
5 | type: query | 5 | type: query |
6 | - description: 返回role列表 | 6 | + description: 返回共创模式服务列表 |
7 | payload: | 7 | payload: |
8 | - - ref: offset | ||
9 | - required: true | ||
10 | - - ref: limit | ||
11 | - required: true | 8 | + - ref: offset |
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | result: | 12 | result: |
13 | - - ref: count | ||
14 | - required: true | ||
15 | - - name: roles | ||
16 | - type: | ||
17 | - array: roles | ||
18 | - required: true | 13 | + - ref: count |
14 | + required: true | ||
15 | + - name: cooperationModes | ||
16 | + type: | ||
17 | + array: cooperationMode | ||
18 | + required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: listOrg | 4 | + name: listCooperationProject |
5 | type: query | 5 | type: query |
6 | - description: 返回组织管理列表 | 6 | + description: 返回共创项目服务列表 |
7 | payload: | 7 | payload: |
8 | - - ref: offset | ||
9 | - required: true | ||
10 | - - ref: limit | ||
11 | - required: true | ||
12 | - - ref: orgCode | ||
13 | - required: false | ||
14 | - - ref: depName | ||
15 | - required: false | ||
16 | - - ref: parentId | ||
17 | - required: false | 8 | + - ref: offset |
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
18 | result: | 12 | result: |
19 | - - ref: count | ||
20 | - required: true | ||
21 | - - name: orgs | ||
22 | - type: | ||
23 | - array: orgs | ||
24 | - required: true | 13 | + - ref: count |
14 | + required: true | ||
15 | + - name: cooperationProjects | ||
16 | + type: | ||
17 | + array: cooperationProject | ||
18 | + required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: createOrg | 4 | + name: releaseCooperationProject |
5 | type: command | 5 | type: command |
6 | - description: 创建组织管理 | 6 | + description: 发布共创项目 |
7 | payload: | 7 | payload: |
8 | - - ref: companyId | ||
9 | - required: true | ||
10 | - - ref: orgCode | ||
11 | - required: true | ||
12 | - - ref: orgName | ||
13 | - required: true | ||
14 | - - name: isOrg | ||
15 | - required: true | ||
16 | - - ref: parentId | ||
17 | - required: true | 8 | + - ref: cooperationProjectName |
9 | + required: true | ||
10 | + - ref: cooperationModeId | ||
11 | + required: true | ||
12 | + - ref: cooperationProjectSponsor | ||
13 | + required: true | ||
14 | + - ref: cooperationProjectUndertakerType | ||
15 | + required: true | ||
16 | + - ref: cooperationProjectDescription | ||
17 | + required: true | ||
18 | result: | 18 | result: |
19 | - - name: org | ||
20 | - type: | ||
21 | - schema: orgs | ||
22 | - required: true | 19 | + - name: cooperationProject |
20 | + type: | ||
21 | + schema: cooperationProject | ||
22 | + required: true |
1 | -version: v1 | ||
2 | -kind: Method | ||
3 | -metadata: | ||
4 | - name: updateOrg | ||
5 | - type: command | ||
6 | - description: 更新组织管理 | ||
7 | - payload: | ||
8 | - - ref: orgId | ||
9 | - required: true | ||
10 | - - ref: orgCode | ||
11 | - required: true | ||
12 | - - ref: orgName | ||
13 | - required: true | ||
14 | - - name: isOrg | ||
15 | - required: true | ||
16 | - - ref: parentId | ||
17 | - required: true | ||
18 | - result: | ||
19 | - - name: org | ||
20 | - type: | ||
21 | - schema: orgs | ||
22 | - required: true |
@@ -10,5 +10,11 @@ metadata: | @@ -10,5 +10,11 @@ metadata: | ||
10 | result: | 10 | result: |
11 | - name: role | 11 | - name: role |
12 | type: | 12 | type: |
13 | - schema: roleDetail | 13 | + schema: roles |
14 | required: true | 14 | required: true |
15 | + - name: menus | ||
16 | + type: | ||
17 | + array: menu | ||
18 | + - name: users | ||
19 | + type: | ||
20 | + array: users |
@@ -8,7 +8,15 @@ metadata: | @@ -8,7 +8,15 @@ metadata: | ||
8 | - ref: roleId | 8 | - ref: roleId |
9 | required: true | 9 | required: true |
10 | result: | 10 | result: |
11 | + - name: role | ||
12 | + description: 角色基础数据 | ||
13 | + type: | ||
14 | + schema: roles | ||
11 | - name: roleUser | 15 | - name: roleUser |
12 | - description: 关联详情 | 16 | + description: 关联的用户 |
17 | + type: | ||
18 | + schema: users | ||
19 | + - name: notInRoleUser | ||
20 | + description: 未关联的用户列表 | ||
13 | type: | 21 | type: |
14 | - schema: roleUserInfo | 22 | + array: users |
@@ -8,55 +8,15 @@ metadata: | @@ -8,55 +8,15 @@ metadata: | ||
8 | - ref: usersId | 8 | - ref: usersId |
9 | required: true | 9 | required: true |
10 | result: | 10 | result: |
11 | - - name: usersId | ||
12 | - description: 用户id | 11 | + - name: user |
13 | type: | 12 | type: |
14 | - primitive: int64 | ||
15 | - - name: usersCode | ||
16 | - description: 用户编号 | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - - name: usersName | ||
20 | - description: 用户名称 | ||
21 | - type: | ||
22 | - primitive: string | ||
23 | - - name: orgId | ||
24 | - description: 组织机构id | ||
25 | - type: | ||
26 | - primitive: int64 | ||
27 | - - name: orgName | ||
28 | - description: 组织机构名称 | ||
29 | - type: | ||
30 | - primitive: string | ||
31 | - - name: departmentId | ||
32 | - description: 部门id | ||
33 | - type: | ||
34 | - primitive: int64 | ||
35 | - - name: departmentName | ||
36 | - description: 部门名称 | ||
37 | - type: | ||
38 | - primitive: int64 | ||
39 | - - name: enableStatus | ||
40 | - description: 启用状态(启用:1 禁用:2) | ||
41 | - type: | ||
42 | - primitive: int | ||
43 | - - name: phone | ||
44 | - description: 手机号 | ||
45 | - type: | ||
46 | - primitive: string | ||
47 | - - name: email | ||
48 | - description: 邮箱 | ||
49 | - type: | ||
50 | - primitive: string | ||
51 | - - name: usersOrg | ||
52 | - description: 关联的组织机构 | 13 | + schema: users |
14 | + - name: userOrg | ||
53 | type: | 15 | type: |
54 | array: orgs | 16 | array: orgs |
55 | - - name: usersRole | ||
56 | - description: 关联的角色 | 17 | + - name: userRole |
57 | type: | 18 | type: |
58 | array: roles | 19 | array: roles |
59 | - - name: avator | ||
60 | - description: 头像 | 20 | + - name: userMenu |
61 | type: | 21 | type: |
62 | - primitive: string | 22 | + array: menu |
@@ -5,46 +5,30 @@ metadata: | @@ -5,46 +5,30 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 创建公司用户信息 | 6 | description: 创建公司用户信息 |
7 | payload: | 7 | payload: |
8 | - - name: usersCode | ||
9 | - description: 用户编号 | ||
10 | - type: | ||
11 | - primitive: string | ||
12 | - - name: usersName | ||
13 | - description: 用户名称 | ||
14 | - type: | ||
15 | - primitive: string | ||
16 | - - name: organizationId | ||
17 | - description: 组织机构id | ||
18 | - type: | ||
19 | - primitive: int64 | ||
20 | - - name: departmentId | ||
21 | - description: 部门id | ||
22 | - type: | ||
23 | - primitive: int64 | ||
24 | - - name: enableStatus | ||
25 | - description: 启用状态(启用:1 禁用:2) | ||
26 | - type: | ||
27 | - primitive: int | ||
28 | - - name: phone | ||
29 | - description: 手机号 | ||
30 | - type: | ||
31 | - primitive: string | ||
32 | - - name: email | ||
33 | - description: 邮箱 | ||
34 | - type: | ||
35 | - primitive: string | 8 | + - ref: usersCode |
9 | + required: true | ||
10 | + - ref: usersName | ||
11 | + required: true | ||
12 | + - ref: orgId | ||
13 | + required: true | ||
14 | + - ref: departmentId | ||
15 | + required: true | ||
16 | + - ref: enableStatus | ||
17 | + required: true | ||
18 | + - ref: phone | ||
19 | + required: true | ||
20 | + - ref: email | ||
21 | + required: true | ||
36 | - name: usersOrg | 22 | - name: usersOrg |
37 | description: 关联的组织机构 | 23 | description: 关联的组织机构 |
38 | type: | 24 | type: |
39 | - array: orgs | 25 | + array: int64 |
40 | - name: usersRole | 26 | - name: usersRole |
41 | - description: 关联的组织结构 | 27 | + description: 关联的用户 |
42 | type: | 28 | type: |
43 | - array: roles | ||
44 | - - name: avator | ||
45 | - description: 头像 | ||
46 | - type: | ||
47 | - primitive: string | 29 | + array: int64 |
30 | + - ref: avator | ||
31 | + required: true | ||
48 | result: | 32 | result: |
49 | - name: usersId | 33 | - name: usersId |
50 | type: | 34 | type: |
@@ -5,10 +5,20 @@ metadata: | @@ -5,10 +5,20 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 创建共创用户信息 | 6 | description: 创建共创用户信息 |
7 | payload: | 7 | payload: |
8 | - - name: userinfo | ||
9 | - description: 共创用户信息 | ||
10 | - type: | ||
11 | - schema: cooperationUser | 8 | + - ref: usersId |
9 | + required: true | ||
10 | + - ref: usersCode | ||
11 | + required: true | ||
12 | + - ref: usersName | ||
13 | + required: true | ||
14 | + - ref: cooperationCompany | ||
15 | + required: true | ||
16 | + - ref: cooperationDeadline | ||
17 | + required: true | ||
18 | + - ref: enableStatus | ||
19 | + required: true | ||
20 | + - ref: email | ||
21 | + required: true | ||
12 | result: | 22 | result: |
13 | - name: usersId | 23 | - name: usersId |
14 | type: | 24 | type: |
-
请 注册 或 登录 后发表评论