正在显示
64 个修改的文件
包含
891 行增加
和
0 行删除
allied-creation-gateway/schemas/company.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: company | ||
5 | + description: 公司 | ||
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 |
allied-creation-gateway/schemas/ext.yaml
0 → 100644
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 |
allied-creation-gateway/schemas/menu.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: menu | ||
5 | + description: 系统菜单 | ||
6 | + attributes: | ||
7 | + - ref: menuId | ||
8 | + required: true | ||
9 | + - ref: parentId | ||
10 | + required: true | ||
11 | + - ref: menuName | ||
12 | + required: true | ||
13 | + - ref: code | ||
14 | + required: true | ||
15 | + - ref: accessCode | ||
16 | + required: true | ||
17 | + - ref: menuType | ||
18 | + required: true | ||
19 | + - ref: icon | ||
20 | + required: true | ||
21 | + - ref: sort | ||
22 | + required: true | ||
23 | + - ref: remark | ||
24 | + required: true | ||
25 | + - name: category | ||
26 | + description: 菜单类别 (web:1、app:2) | ||
27 | + type: | ||
28 | + primitive: string | ||
29 | + - name: parentPath | ||
30 | + description: 父级节点路径("0,11,12,") | ||
31 | + type: | ||
32 | + primitive: string | ||
33 | + - ref: enableStatus | ||
34 | + description: 启用状态(启用:1 禁用:0) | ||
35 | + required: true | ||
36 | + - ref: isPublish | ||
37 | + required: true |
allied-creation-gateway/schemas/org.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: org | ||
5 | + description: 组织 organization | ||
6 | + attributes: | ||
7 | + - ref: orgId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: createAt | ||
12 | + required: true | ||
13 | + - ref: updateAt | ||
14 | + required: true | ||
15 | + - ref: deleteAt | ||
16 | + required: true | ||
17 | + - ref: orgCode | ||
18 | + required: true | ||
19 | + - ref: orgName | ||
20 | + required: true | ||
21 | + - name: isOrg | ||
22 | + required: true | ||
23 | + - ref: parentId | ||
24 | + required: true |
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: createAt | ||
12 | + required: true | ||
13 | + - ref: updateAt | ||
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 |
allied-creation-gateway/schemas/role.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: role | ||
5 | + description: 角色 (base) | ||
6 | + attributes: | ||
7 | + - ref: roleId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: orgId | ||
12 | + required: true | ||
13 | + - ref: roleName | ||
14 | + required: true | ||
15 | + - ref: accessMenus | ||
16 | + required: true | ||
17 | + - ref: desc | ||
18 | + required: true | ||
19 | + - ref: createAt | ||
20 | + required: true | ||
21 | + - ref: updateAt | ||
22 | + required: true |
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 |
allied-creation-gateway/schemas/users.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: users | ||
5 | + description: 用户 | ||
6 | + attributes: | ||
7 | + - ref: usersId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: usersBaseId | ||
12 | + required: true | ||
13 | + - ref: usersType | ||
14 | + required: true | ||
15 | + - ref: usersCode | ||
16 | + 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: org | ||
29 | + - name: usersRole | ||
30 | + description: 用户关联的角色 | ||
31 | + type: | ||
32 | + array: role | ||
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: createAt | ||
46 | + required: true | ||
47 | + - ref: updateAt | ||
48 | + 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: createAt | ||
26 | + required: true | ||
27 | + - ref: updateAt | ||
28 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createOrg | ||
5 | + type: command | ||
6 | + description: 创建组织管理 | ||
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 | ||
18 | + result: | ||
19 | + - name: org | ||
20 | + type: | ||
21 | + schema: org | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listOrg | ||
5 | + type: query | ||
6 | + description: 返回组织管理列表 | ||
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 | ||
18 | + result: | ||
19 | + - ref: count | ||
20 | + required: true | ||
21 | + - name: orgs | ||
22 | + type: | ||
23 | + array: org | ||
24 | + 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: org | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: batchResetPassword | ||
5 | + type: command | ||
6 | + description: 批量重置密码 | ||
7 | + payload: | ||
8 | + - name: usersIds | ||
9 | + type: | ||
10 | + array: int64 | ||
11 | + required: true | ||
12 | + - ref: password | ||
13 | + required: true | ||
14 | + result: | ||
15 | + - name: usersId | ||
16 | + type: | ||
17 | + primitive: int64 | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createUsers | ||
5 | + type: command | ||
6 | + description: 创建用户信息 | ||
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 | ||
36 | + - name: usersOrg | ||
37 | + description: 关联的组织机构 | ||
38 | + type: | ||
39 | + array: org | ||
40 | + - name: usersRole | ||
41 | + description: 关联的组织结构 | ||
42 | + type: | ||
43 | + array: role | ||
44 | + - name: avator | ||
45 | + description: 头像 | ||
46 | + type: | ||
47 | + primitive: string | ||
48 | + result: | ||
49 | + - name: usersId | ||
50 | + type: | ||
51 | + primitive: int64 | ||
52 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: enableUsers | ||
5 | + type: command | ||
6 | + description: 启用禁用用户信息 | ||
7 | + payload: | ||
8 | + - ref: usersId | ||
9 | + required: true | ||
10 | + - name: enableStatus | ||
11 | + description: 启用状态(启用:1 禁用:2) | ||
12 | + type: | ||
13 | + primitive: int | ||
14 | + result: | ||
15 | + - name: users | ||
16 | + type: | ||
17 | + schema: users | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getUsers | ||
5 | + type: query | ||
6 | + description: 返回用户信息 | ||
7 | + payload: | ||
8 | + - ref: usersId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: usersCode | ||
12 | + description: 用户编号 | ||
13 | + type: | ||
14 | + primitive: string | ||
15 | + - name: usersName | ||
16 | + description: 用户名称 | ||
17 | + type: | ||
18 | + primitive: string | ||
19 | + - name: orgId | ||
20 | + description: 组织机构id | ||
21 | + type: | ||
22 | + primitive: int64 | ||
23 | + - name: orgName | ||
24 | + description: 组织机构名称 | ||
25 | + type: | ||
26 | + primitive: string | ||
27 | + - name: departmentId | ||
28 | + description: 部门id | ||
29 | + type: | ||
30 | + primitive: int64 | ||
31 | + - name: departmentName | ||
32 | + description: 部门名称 | ||
33 | + type: | ||
34 | + primitive: int64 | ||
35 | + - name: enableStatus | ||
36 | + description: 启用状态(启用:1 禁用:2) | ||
37 | + type: | ||
38 | + primitive: int | ||
39 | + - name: phone | ||
40 | + description: 手机号 | ||
41 | + type: | ||
42 | + primitive: string | ||
43 | + - name: email | ||
44 | + description: 邮箱 | ||
45 | + type: | ||
46 | + primitive: string | ||
47 | + - name: usersOrg | ||
48 | + description: 关联的组织机构 | ||
49 | + type: | ||
50 | + array: org | ||
51 | + - name: usersRole | ||
52 | + description: 关联的角色 | ||
53 | + type: | ||
54 | + array: role | ||
55 | + - name: avator | ||
56 | + description: 头像 | ||
57 | + type: | ||
58 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listUsers | ||
5 | + type: query | ||
6 | + description: 返回用户信息列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: userList | ||
16 | + type: | ||
17 | + array: userListItem | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateUsers | ||
5 | + type: command | ||
6 | + description: 更新用户信息 | ||
7 | + payload: | ||
8 | + - name: usersId | ||
9 | + type: | ||
10 | + primitive: int64 | ||
11 | + required: true | ||
12 | + - name: usersCode | ||
13 | + description: 用户编号 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + - name: usersName | ||
17 | + description: 用户名称 | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + - name: organizationId | ||
21 | + description: 组织机构id | ||
22 | + type: | ||
23 | + primitive: int64 | ||
24 | + - name: departmentId | ||
25 | + description: 部门id | ||
26 | + type: | ||
27 | + primitive: int64 | ||
28 | + - name: enableStatus | ||
29 | + description: 启用状态(启用:1 禁用:2) | ||
30 | + type: | ||
31 | + primitive: int | ||
32 | + - name: phone | ||
33 | + description: 手机号 | ||
34 | + type: | ||
35 | + primitive: string | ||
36 | + - name: email | ||
37 | + description: 邮箱 | ||
38 | + type: | ||
39 | + primitive: string | ||
40 | + - name: usersOrg | ||
41 | + description: 关联的组织机构 | ||
42 | + type: | ||
43 | + array: int64 | ||
44 | + - name: usersRole | ||
45 | + description: 关联的组织结构 | ||
46 | + type: | ||
47 | + array: int64 | ||
48 | + - name: avator | ||
49 | + description: 头像 | ||
50 | + type: | ||
51 | + primitive: string | ||
52 | + result: | ||
53 | + - name: usersId | ||
54 | + type: | ||
55 | + primitive: int64 | ||
56 | + required: true |
-
请 注册 或 登录 后发表评论