Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
92 个修改的文件
包含
2440 行增加
和
666 行删除
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationApplication | ||
5 | + path: /cooperation-applications | ||
6 | + endpoints: | ||
7 | + - method: applyForCooperation | ||
8 | + route: | ||
9 | + post: /apply-for-cooperation | ||
10 | + - method: agreeCooperationApplication | ||
11 | + route: | ||
12 | + post: /agree-cooperation-application | ||
13 | + - method: rejectCooperationApplication | ||
14 | + route: | ||
15 | + post: /reject-cooperation-application | ||
16 | + - method: createCooperationApplication | ||
17 | + route: | ||
18 | + post: / | ||
19 | + - method: updateCooperationApplication | ||
20 | + route: | ||
21 | + put: /{cooperationApplicationId} | ||
22 | + - method: getCooperationApplication | ||
23 | + route: | ||
24 | + get: /{cooperationApplicationId} | ||
25 | + - method: removeCooperationApplication | ||
26 | + route: | ||
27 | + delete: /{cooperationApplicationId} | ||
28 | + - method: listCooperationApplication | ||
29 | + route: | ||
30 | + get: / | ||
31 | + params: | ||
32 | + - name: offset | ||
33 | + - name: limit |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: cooperationProject | ||
5 | + path: /cooperation-projects | ||
6 | + endpoints: | ||
7 | + - method: releaseCooperationProject | ||
8 | + route: | ||
9 | + post: /release-cooperation-project | ||
10 | + - method: createCooperationProject | ||
11 | + route: | ||
12 | + post: / | ||
13 | + - method: updateCooperationProject | ||
14 | + route: | ||
15 | + put: /{cooperationProjectId} | ||
16 | + - method: getCooperationProject | ||
17 | + route: | ||
18 | + get: /{cooperationProjectId} | ||
19 | + - method: removeCooperationProject | ||
20 | + route: | ||
21 | + delete: /{cooperationProjectId} | ||
22 | + - method: listCooperationProject | ||
23 | + route: | ||
24 | + get: / | ||
25 | + params: | ||
26 | + - name: offset | ||
27 | + - name: limit |
不能预览此文件类型
@@ -2,6 +2,6 @@ version: v1 | @@ -2,6 +2,6 @@ version: v1 | ||
2 | kind: Attribute | 2 | kind: Attribute |
3 | metadata: | 3 | metadata: |
4 | name: cooperationProjectUndertakerType | 4 | name: cooperationProjectUndertakerType |
5 | - description: 共创项目承接对象,1员工,2共创用户,3公开 | 5 | + description: 共创项目承接对象,1员工,2共创用户,3公开,可以多选 |
6 | type: | 6 | type: |
7 | - primitive: int32 | 7 | + array: int32 |
@@ -22,7 +22,9 @@ metadata: | @@ -22,7 +22,9 @@ metadata: | ||
22 | required: true | 22 | required: true |
23 | - ref: cooperationApplyTime | 23 | - ref: cooperationApplyTime |
24 | required: true | 24 | required: true |
25 | - - ref: cooperationProjectId | 25 | + - ref: cooperationProjectNumber |
26 | + required: true | ||
27 | + - ref: organization | ||
26 | required: true | 28 | required: true |
27 | - ref: createdAt | 29 | - ref: createdAt |
28 | required: true | 30 | required: true |
allied-creation-cooperation/services/cooperationApplication/methods/agreeCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: agreeCooperationApplication | ||
5 | + type: command | ||
6 | + description: 同意共创申请 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + - ref: cooperationApplicationVerifyDescription | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - name: cooperationApplication | ||
14 | + type: | ||
15 | + schema: cooperationApplication | ||
16 | + required: true |
allied-creation-cooperation/services/cooperationApplication/methods/applyForCooperation.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: applyForCooperation | ||
5 | + type: command | ||
6 | + description: 申请共创 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationAttachment | ||
9 | + required: true | ||
10 | + - ref: cooperationApplicationDescription | ||
11 | + required: true | ||
12 | + - ref: cooperationApplicationApplicant | ||
13 | + required: true | ||
14 | + - ref: cooperationApplicationId | ||
15 | + required: true | ||
16 | + - ref: cooperationProjectNumber | ||
17 | + required: true | ||
18 | + - ref: cooperationApplyTime | ||
19 | + required: true | ||
20 | + result: | ||
21 | + - name: cooperationApplication | ||
22 | + type: | ||
23 | + schema: cooperationApplication | ||
24 | + required: true |
allied-creation-cooperation/services/cooperationApplication/methods/getCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getCooperationApplication | ||
5 | + type: query | ||
6 | + description: 返回共创申请服务 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationApplication | ||
12 | + type: | ||
13 | + schema: cooperationApplication | ||
14 | + required: true |
allied-creation-cooperation/services/cooperationApplication/methods/listCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCooperationApplication | ||
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: cooperationApplications | ||
16 | + type: | ||
17 | + array: cooperationApplication | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: rejectCooperationApplication | ||
5 | + type: command | ||
6 | + description: 拒绝共创申请 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + - ref: cooperationApplicationVerifyDescription | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - name: cooperationApplication | ||
14 | + type: | ||
15 | + schema: cooperationApplication | ||
16 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: removeCooperationApplication | ||
5 | + type: command | ||
6 | + description: 移除共创申请服务 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationApplication | ||
12 | + type: | ||
13 | + schema: cooperationApplication | ||
14 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCooperationApplication | ||
5 | + type: command | ||
6 | + description: 更新共创申请服务 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationApplication | ||
12 | + type: | ||
13 | + schema: cooperationApplication | ||
14 | + required: true |
allied-creation-cooperation/services/cooperationProject/methods/listCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCooperationProject | ||
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: cooperationProjects | ||
16 | + type: | ||
17 | + array: cooperationProject | ||
18 | + required: true |
allied-creation-cooperation/services/cooperationProject/methods/releaseCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: releaseCooperationProject | ||
5 | + type: command | ||
6 | + description: 发布共创项目 | ||
7 | + payload: | ||
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: | ||
19 | + - name: cooperationProject | ||
20 | + type: | ||
21 | + schema: cooperationProject | ||
22 | + required: true |
@@ -13,6 +13,6 @@ metadata: | @@ -13,6 +13,6 @@ metadata: | ||
13 | - method: phoneAuthResetPassword | 13 | - method: phoneAuthResetPassword |
14 | route: | 14 | route: |
15 | post: /phone-auth/reset-password | 15 | post: /phone-auth/reset-password |
16 | - - method: phoneAuthResetPassword | 16 | + - method: destoryAccount |
17 | route: | 17 | route: |
18 | post: /destory-account | 18 | post: /destory-account |
allied-creation-user/api/http/company.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: company | ||
5 | + path: /companys | ||
6 | + endpoints: | ||
7 | + - method: createCompany | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateCompany | ||
11 | + route: | ||
12 | + put: /{companyId} | ||
13 | + - method: getCompany | ||
14 | + route: | ||
15 | + get: /{companyId} | ||
16 | + - method: removeCompany | ||
17 | + route: | ||
18 | + delete: /{companyId} | ||
19 | + - method: listCompany | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit | ||
25 | + - method: listCompanyCustomizeMenus | ||
26 | + route: | ||
27 | + get: /{companyId}/customize-menus/ | ||
28 | + - method: updateCompanyCustomizeMenus | ||
29 | + route: | ||
30 | + put: /{companyId}/customize-menus |
@@ -22,6 +22,10 @@ metadata: | @@ -22,6 +22,10 @@ metadata: | ||
22 | params: | 22 | params: |
23 | - name: offset | 23 | - name: offset |
24 | - name: limit | 24 | - name: limit |
25 | + - name: roleName | ||
26 | + - name: orgName | ||
27 | + - name: orgId | ||
28 | + - name: inOrgIds | ||
25 | - method: getRoleRelatedUsers | 29 | - method: getRoleRelatedUsers |
26 | route: | 30 | route: |
27 | get: /{roleId}/related-users | 31 | get: /{roleId}/related-users |
@@ -34,12 +38,12 @@ metadata: | @@ -34,12 +38,12 @@ metadata: | ||
34 | get: /{roleId}/access-menus | 38 | get: /{roleId}/access-menus |
35 | params: | 39 | params: |
36 | - name: roleId | 40 | - name: roleId |
41 | + - method: updateRoleAccessMenus | ||
42 | + route: | ||
43 | + put: /{roleId}/access-menus | ||
37 | - method: assginRoleToUsers | 44 | - method: assginRoleToUsers |
38 | route: | 45 | route: |
39 | post: /assgin | 46 | post: /assgin |
40 | - method: unAssginRoleToUsers | 47 | - method: unAssginRoleToUsers |
41 | - route: | ||
42 | - post: /unassgin | ||
43 | - - method: updateRoleAccessMenus | ||
44 | - route: | ||
45 | - put: /{roleId}/access-menus | ||
48 | + route: | ||
49 | + post: /unassgin |
@@ -3,47 +3,51 @@ kind: HttpApi | @@ -3,47 +3,51 @@ kind: HttpApi | ||
3 | metadata: | 3 | metadata: |
4 | service: users | 4 | service: users |
5 | path: /users | 5 | path: /users |
6 | - endpoints: | ||
7 | - - method: createUsers | ||
8 | - route: | ||
9 | - post: / | ||
10 | - - method: updateUsers | ||
11 | - route: | ||
12 | - put: /{usersId} | ||
13 | - - method: getUsers | ||
14 | - route: | ||
15 | - get: /{usersId} | ||
16 | - - method: removeUsers | ||
17 | - route: | ||
18 | - delete: /{usersId} | ||
19 | - - method: listUsers | ||
20 | - route: | ||
21 | - get: / | ||
22 | - params: | ||
23 | - - name: offset | ||
24 | - - name: limit | ||
25 | - - method: getUsersAccessMenus | 6 | + endpoints: |
7 | + - method: createUsers | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateUsers | ||
11 | + route: | ||
12 | + put: /{usersId} | ||
13 | + - method: getUsers | ||
14 | + route: | ||
15 | + get: /{usersId} | ||
16 | + - method: removeUsers | ||
17 | + route: | ||
18 | + delete: /{usersId} | ||
19 | + - method: listUsers | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit | ||
25 | + - name: companyId | ||
26 | + - name: orgId | ||
27 | + - name: usersName | ||
28 | + - name: depName | ||
29 | + - method: getUsersAccessMenus | ||
26 | route: | 30 | route: |
27 | get: /access-menus | 31 | get: /access-menus |
28 | params: | 32 | params: |
29 | - name: usersId | 33 | - name: usersId |
30 | - name: menuCategory | 34 | - name: menuCategory |
31 | - - method: getUsersBaseInfo | 35 | + - method: getUsersBaseInfo |
32 | route: | 36 | route: |
33 | get: /base-info | 37 | get: /base-info |
34 | params: | 38 | params: |
35 | - name: usersId | 39 | - name: usersId |
36 | - name: phone | 40 | - name: phone |
37 | - name: usersBaseId | 41 | - name: usersBaseId |
38 | - - method: batchAdd | ||
39 | - route: | ||
40 | - post: /batch-add | ||
41 | - - method: batchEnable | ||
42 | - route: | ||
43 | - post: /batch-enable | ||
44 | - - method: batchResetPassword | ||
45 | - route: | ||
46 | - post: /batch-reset-password | ||
47 | - - method: phoneAuth | ||
48 | - route: | ||
49 | - put: /{usersId}/phone-auth | ||
42 | + - method: batchAdd | ||
43 | + route: | ||
44 | + post: /batch-add | ||
45 | + - method: batchEnable | ||
46 | + route: | ||
47 | + post: /batch-enable | ||
48 | + - method: batchResetPassword | ||
49 | + route: | ||
50 | + post: /batch-reset-password | ||
51 | + - method: updateUsersPhoneAuth | ||
52 | + route: | ||
53 | + put: /{usersId}/phone-auth |
1 | +swagger: "2.0" | ||
2 | +info: | ||
3 | + title: "" | ||
4 | + description: 天联企业管理系统 | ||
5 | + contact: | ||
6 | + name: "" | ||
7 | + email: "" | ||
8 | + home: "" | ||
9 | + version: 0.0.1 | ||
10 | +paths: {} | ||
11 | +definitions: | ||
12 | + AuthCompanySignUpRequestBody: | ||
13 | + title: AuthCompanySignUpRequestBody | ||
14 | + type: object | ||
15 | + properties: | ||
16 | + companyName: | ||
17 | + type: string | ||
18 | + description: 企业名称 | ||
19 | + required: | ||
20 | + - companyName | ||
21 | + contacts: | ||
22 | + type: string | ||
23 | + description: 联系人 | ||
24 | + required: | ||
25 | + - contacts | ||
26 | + industryCategory: | ||
27 | + type: string | ||
28 | + description: 所属行业 | ||
29 | + required: | ||
30 | + - industryCategory | ||
31 | + password: | ||
32 | + type: string | ||
33 | + description: 密码 | ||
34 | + required: | ||
35 | + - password | ||
36 | + phone: | ||
37 | + type: string | ||
38 | + description: 手机号码 | ||
39 | + required: | ||
40 | + - phone | ||
41 | + scale: | ||
42 | + type: string | ||
43 | + description: 规模 | ||
44 | + required: | ||
45 | + - scale | ||
46 | + AuthCompanySignUpResponseBody: | ||
47 | + title: 'Mediatype identifier: AuthCompanySignUpResponseBody' | ||
48 | + type: object | ||
49 | + properties: | ||
50 | + code: | ||
51 | + type: integer | ||
52 | + required: | ||
53 | + - code | ||
54 | + msg: | ||
55 | + type: string | ||
56 | + required: | ||
57 | + - msg | ||
58 | + AuthDestoryAccountRequestBody: | ||
59 | + title: AuthDestoryAccountRequestBody | ||
60 | + type: object | ||
61 | + properties: | ||
62 | + usersId: | ||
63 | + type: integer | ||
64 | + description: 用户编号 | ||
65 | + required: | ||
66 | + - usersId | ||
67 | + AuthDestoryAccountResponseBody: | ||
68 | + title: 'Mediatype identifier: AuthDestoryAccountResponseBody' | ||
69 | + type: object | ||
70 | + properties: | ||
71 | + code: | ||
72 | + type: integer | ||
73 | + required: | ||
74 | + - code | ||
75 | + msg: | ||
76 | + type: string | ||
77 | + required: | ||
78 | + - msg | ||
79 | + AuthPhoneAuthCheckRequestBody: | ||
80 | + title: AuthPhoneAuthCheckRequestBody | ||
81 | + type: object | ||
82 | + properties: | ||
83 | + password: | ||
84 | + type: string | ||
85 | + description: 密码 | ||
86 | + required: | ||
87 | + - password | ||
88 | + phone: | ||
89 | + type: string | ||
90 | + description: 手机号码 | ||
91 | + required: | ||
92 | + - phone | ||
93 | + AuthPhoneAuthCheckResponseBody: | ||
94 | + title: 'Mediatype identifier: AuthPhoneAuthCheckResponseBody' | ||
95 | + type: object | ||
96 | + properties: | ||
97 | + code: | ||
98 | + type: integer | ||
99 | + required: | ||
100 | + - code | ||
101 | + msg: | ||
102 | + type: string | ||
103 | + required: | ||
104 | + - msg | ||
105 | + AuthPhoneAuthResetPasswordRequestBody: | ||
106 | + title: AuthPhoneAuthResetPasswordRequestBody | ||
107 | + type: object | ||
108 | + properties: | ||
109 | + password: | ||
110 | + type: string | ||
111 | + description: 密码 | ||
112 | + required: | ||
113 | + - password | ||
114 | + phone: | ||
115 | + type: string | ||
116 | + description: 手机号码 | ||
117 | + required: | ||
118 | + - phone | ||
119 | + AuthPhoneAuthResetPasswordResponseBody: | ||
120 | + title: 'Mediatype identifier: AuthPhoneAuthResetPasswordResponseBody' | ||
121 | + type: object | ||
122 | + properties: | ||
123 | + msg: | ||
124 | + type: string | ||
125 | + description: 消息 | ||
126 | + MenuCreateMenuRequestBody: | ||
127 | + title: MenuCreateMenuRequestBody | ||
128 | + type: object | ||
129 | + properties: | ||
130 | + accessCode: | ||
131 | + type: string | ||
132 | + description: 权限编码 users:edit | ||
133 | + required: | ||
134 | + - accessCode | ||
135 | + code: | ||
136 | + type: string | ||
137 | + description: 菜单编码 SYSTEM_USER_EDIT / 100101 (字符编码) | ||
138 | + required: | ||
139 | + - code | ||
140 | + enableStatus: | ||
141 | + type: integer | ||
142 | + description: 启用状态(启用:1 禁用:0) | ||
143 | + required: | ||
144 | + - enableStatus | ||
145 | + icon: | ||
146 | + type: string | ||
147 | + description: 菜单图标 | ||
148 | + isPublish: | ||
149 | + type: integer | ||
150 | + description: 菜单是否公开状态,[0:隐藏],[1:显示],默认显示 | ||
151 | + required: | ||
152 | + - isPublish | ||
153 | + menuName: | ||
154 | + type: string | ||
155 | + description: 菜单名称 | ||
156 | + required: | ||
157 | + - menuName | ||
158 | + menuType: | ||
159 | + type: string | ||
160 | + description: 菜单类型 (目录catalog、菜单menu、按钮button) | ||
161 | + required: | ||
162 | + - menuType | ||
163 | + parentId: | ||
164 | + type: integer | ||
165 | + description: 父级id | ||
166 | + format: int64 | ||
167 | + remark: | ||
168 | + type: string | ||
169 | + description: 菜单说明 | ||
170 | + sort: | ||
171 | + type: integer | ||
172 | + description: 排序 | ||
173 | + required: | ||
174 | + - sort | ||
175 | + MenuCreateMenuResponseBody: | ||
176 | + title: 'Mediatype identifier: MenuCreateMenuResponseBody' | ||
177 | + type: object | ||
178 | + properties: | ||
179 | + menu: | ||
180 | + $ref: '#/definitions/menuResponseBody' | ||
181 | + MenuGetMenuResponseBody: | ||
182 | + title: 'Mediatype identifier: MenuGetMenuResponseBody' | ||
183 | + type: object | ||
184 | + properties: | ||
185 | + menu: | ||
186 | + $ref: '#/definitions/menuResponseBody' | ||
187 | + MenuListMenuResponseBody: | ||
188 | + title: 'Mediatype identifier: MenuListMenuResponseBody' | ||
189 | + type: object | ||
190 | + properties: | ||
191 | + count: | ||
192 | + type: integer | ||
193 | + description: 匹配数目 | ||
194 | + required: | ||
195 | + - count | ||
196 | + menus: | ||
197 | + type: array | ||
198 | + items: | ||
199 | + $ref: '#/definitions/menuResponseBody' | ||
200 | + required: | ||
201 | + - menus | ||
202 | + MenuRemoveMenuResponseBody: | ||
203 | + title: 'Mediatype identifier: MenuRemoveMenuResponseBody' | ||
204 | + type: object | ||
205 | + properties: | ||
206 | + menu: | ||
207 | + $ref: '#/definitions/menuResponseBody' | ||
208 | + MenuUpdateMenuRequestBody: | ||
209 | + title: MenuUpdateMenuRequestBody | ||
210 | + type: object | ||
211 | + properties: | ||
212 | + accessCode: | ||
213 | + type: string | ||
214 | + description: 权限编码 users:edit | ||
215 | + code: | ||
216 | + type: string | ||
217 | + description: 菜单编码 SYSTEM_USER_EDIT / 100101 (字符编码) | ||
218 | + required: | ||
219 | + - code | ||
220 | + enableStatus: | ||
221 | + type: integer | ||
222 | + description: 启用状态(启用:1 禁用:0) | ||
223 | + required: | ||
224 | + - enableStatus | ||
225 | + icon: | ||
226 | + type: string | ||
227 | + description: 菜单图标 | ||
228 | + isPublish: | ||
229 | + type: integer | ||
230 | + description: 菜单是否公开状态,[0:隐藏],[1:显示],默认显示 | ||
231 | + format: int64 | ||
232 | + menuName: | ||
233 | + type: string | ||
234 | + description: 菜单名称 | ||
235 | + required: | ||
236 | + - menuName | ||
237 | + menuType: | ||
238 | + type: string | ||
239 | + description: 菜单类型 (目录catalog、菜单menu、按钮button) | ||
240 | + required: | ||
241 | + - menuType | ||
242 | + remark: | ||
243 | + type: string | ||
244 | + description: 菜单说明 | ||
245 | + sort: | ||
246 | + type: integer | ||
247 | + description: 排序 | ||
248 | + required: | ||
249 | + - sort | ||
250 | + MenuUpdateMenuResponseBody: | ||
251 | + title: 'Mediatype identifier: MenuUpdateMenuResponseBody' | ||
252 | + type: object | ||
253 | + properties: | ||
254 | + menu: | ||
255 | + $ref: '#/definitions/menuResponseBody' | ||
256 | + OrgCreateOrgRequestBody: | ||
257 | + title: OrgCreateOrgRequestBody | ||
258 | + type: object | ||
259 | + properties: | ||
260 | + companyId: | ||
261 | + type: integer | ||
262 | + description: 企业id | ||
263 | + required: | ||
264 | + - companyId | ||
265 | + isOrg: | ||
266 | + type: string | ||
267 | + required: | ||
268 | + - isOrg | ||
269 | + orgCode: | ||
270 | + type: string | ||
271 | + description: 组织编码 | ||
272 | + required: | ||
273 | + - orgCode | ||
274 | + orgName: | ||
275 | + type: string | ||
276 | + description: 组织名称 | ||
277 | + required: | ||
278 | + - orgName | ||
279 | + parentId: | ||
280 | + type: integer | ||
281 | + description: 父级ID | ||
282 | + required: | ||
283 | + - parentId | ||
284 | + OrgCreateOrgResponseBody: | ||
285 | + title: 'Mediatype identifier: OrgCreateOrgResponseBody' | ||
286 | + type: object | ||
287 | + properties: | ||
288 | + org: | ||
289 | + $ref: '#/definitions/orgResponseBody' | ||
290 | + OrgGetOrgResponseBody: | ||
291 | + title: 'Mediatype identifier: OrgGetOrgResponseBody' | ||
292 | + type: object | ||
293 | + properties: | ||
294 | + org: | ||
295 | + $ref: '#/definitions/orgResponseBody' | ||
296 | + OrgGetOrgSubDepartmentResponseBody: | ||
297 | + title: 'Mediatype identifier: OrgGetOrgSubDepartmentResponseBody' | ||
298 | + type: object | ||
299 | + properties: | ||
300 | + org: | ||
301 | + type: array | ||
302 | + items: | ||
303 | + $ref: '#/definitions/orgResponseBody' | ||
304 | + required: | ||
305 | + - org | ||
306 | + OrgListOrgResponseBody: | ||
307 | + title: 'Mediatype identifier: OrgListOrgResponseBody' | ||
308 | + type: object | ||
309 | + properties: | ||
310 | + count: | ||
311 | + type: integer | ||
312 | + description: 匹配数目 | ||
313 | + required: | ||
314 | + - count | ||
315 | + orgs: | ||
316 | + type: array | ||
317 | + items: | ||
318 | + $ref: '#/definitions/orgResponseBody' | ||
319 | + required: | ||
320 | + - orgs | ||
321 | + OrgRemoveOrgResponseBody: | ||
322 | + title: 'Mediatype identifier: OrgRemoveOrgResponseBody' | ||
323 | + type: object | ||
324 | + properties: | ||
325 | + org: | ||
326 | + $ref: '#/definitions/orgResponseBody' | ||
327 | + OrgUpdateOrgRequestBody: | ||
328 | + title: OrgUpdateOrgRequestBody | ||
329 | + type: object | ||
330 | + properties: | ||
331 | + isOrg: | ||
332 | + type: string | ||
333 | + required: | ||
334 | + - isOrg | ||
335 | + orgCode: | ||
336 | + type: string | ||
337 | + description: 组织编码 | ||
338 | + required: | ||
339 | + - orgCode | ||
340 | + orgName: | ||
341 | + type: string | ||
342 | + description: 组织名称 | ||
343 | + required: | ||
344 | + - orgName | ||
345 | + parentId: | ||
346 | + type: integer | ||
347 | + description: 父级ID | ||
348 | + required: | ||
349 | + - parentId | ||
350 | + OrgUpdateOrgResponseBody: | ||
351 | + title: 'Mediatype identifier: OrgUpdateOrgResponseBody' | ||
352 | + type: object | ||
353 | + properties: | ||
354 | + org: | ||
355 | + $ref: '#/definitions/orgResponseBody' | ||
356 | + RoleAssginRoleToUsersRequestBody: | ||
357 | + title: RoleAssginRoleToUsersRequestBody | ||
358 | + type: object | ||
359 | + properties: | ||
360 | + roleId: | ||
361 | + type: integer | ||
362 | + description: 角色ID | ||
363 | + required: | ||
364 | + - roleId | ||
365 | + usersIds: | ||
366 | + type: array | ||
367 | + items: | ||
368 | + type: integer | ||
369 | + format: int64 | ||
370 | + description: 用户列表 | ||
371 | + RoleAssginRoleToUsersResponseBody: | ||
372 | + title: 'Mediatype identifier: RoleAssginRoleToUsersResponseBody' | ||
373 | + type: object | ||
374 | + properties: | ||
375 | + code: | ||
376 | + type: integer | ||
377 | + required: | ||
378 | + - code | ||
379 | + msg: | ||
380 | + type: string | ||
381 | + required: | ||
382 | + - msg | ||
383 | + RoleCreateRoleRequestBody: | ||
384 | + title: RoleCreateRoleRequestBody | ||
385 | + type: object | ||
386 | + properties: | ||
387 | + desc: | ||
388 | + type: integer | ||
389 | + description: 描述 | ||
390 | + format: int64 | ||
391 | + roleName: | ||
392 | + type: string | ||
393 | + description: 角色名称 | ||
394 | + required: | ||
395 | + - roleName | ||
396 | + RoleCreateRoleResponseBody: | ||
397 | + title: 'Mediatype identifier: RoleCreateRoleResponseBody' | ||
398 | + type: object | ||
399 | + properties: | ||
400 | + role: | ||
401 | + $ref: '#/definitions/roleResponseBody' | ||
402 | + RoleGetRoleAccessMenusResponseBody: | ||
403 | + title: 'Mediatype identifier: RoleGetRoleAccessMenusResponseBody' | ||
404 | + type: object | ||
405 | + properties: | ||
406 | + accessMenus: | ||
407 | + type: array | ||
408 | + items: | ||
409 | + type: integer | ||
410 | + format: int64 | ||
411 | + required: | ||
412 | + - accessMenus | ||
413 | + RoleGetRoleRelatedUsersResponseBody: | ||
414 | + title: 'Mediatype identifier: RoleGetRoleRelatedUsersResponseBody' | ||
415 | + type: object | ||
416 | + properties: | ||
417 | + role: | ||
418 | + $ref: '#/definitions/roleResponseBody' | ||
419 | + RoleGetRoleResponseBody: | ||
420 | + title: 'Mediatype identifier: RoleGetRoleResponseBody' | ||
421 | + type: object | ||
422 | + properties: | ||
423 | + role: | ||
424 | + $ref: '#/definitions/roleResponseBody' | ||
425 | + RoleListRoleResponseBody: | ||
426 | + title: 'Mediatype identifier: RoleListRoleResponseBody' | ||
427 | + type: object | ||
428 | + properties: | ||
429 | + count: | ||
430 | + type: integer | ||
431 | + description: 匹配数目 | ||
432 | + required: | ||
433 | + - count | ||
434 | + roles: | ||
435 | + type: array | ||
436 | + items: | ||
437 | + $ref: '#/definitions/roleResponseBody' | ||
438 | + required: | ||
439 | + - roles | ||
440 | + RoleRemoveRoleResponseBody: | ||
441 | + title: 'Mediatype identifier: RoleRemoveRoleResponseBody' | ||
442 | + type: object | ||
443 | + properties: | ||
444 | + role: | ||
445 | + $ref: '#/definitions/roleResponseBody' | ||
446 | + RoleUnAssginRoleToUsersRequestBody: | ||
447 | + title: RoleUnAssginRoleToUsersRequestBody | ||
448 | + type: object | ||
449 | + properties: | ||
450 | + roleId: | ||
451 | + type: integer | ||
452 | + description: 角色ID | ||
453 | + required: | ||
454 | + - roleId | ||
455 | + usersIds: | ||
456 | + type: array | ||
457 | + items: | ||
458 | + type: integer | ||
459 | + format: int64 | ||
460 | + description: 用户列表 | ||
461 | + RoleUnAssginRoleToUsersResponseBody: | ||
462 | + title: 'Mediatype identifier: RoleUnAssginRoleToUsersResponseBody' | ||
463 | + type: object | ||
464 | + properties: | ||
465 | + code: | ||
466 | + type: integer | ||
467 | + required: | ||
468 | + - code | ||
469 | + msg: | ||
470 | + type: string | ||
471 | + required: | ||
472 | + - msg | ||
473 | + RoleUpdateRoleAccessMenusRequestBody: | ||
474 | + title: RoleUpdateRoleAccessMenusRequestBody | ||
475 | + type: object | ||
476 | + properties: | ||
477 | + accessMenus: | ||
478 | + type: array | ||
479 | + items: | ||
480 | + type: integer | ||
481 | + format: int64 | ||
482 | + description: 菜单编号列表 | ||
483 | + RoleUpdateRoleAccessMenusResponseBody: | ||
484 | + title: 'Mediatype identifier: RoleUpdateRoleAccessMenusResponseBody' | ||
485 | + type: object | ||
486 | + properties: | ||
487 | + role: | ||
488 | + $ref: '#/definitions/roleResponseBody' | ||
489 | + RoleUpdateRoleRequestBody: | ||
490 | + title: RoleUpdateRoleRequestBody | ||
491 | + type: object | ||
492 | + properties: | ||
493 | + desc: | ||
494 | + type: integer | ||
495 | + description: 描述 | ||
496 | + format: int64 | ||
497 | + roleName: | ||
498 | + type: string | ||
499 | + description: 角色名称 | ||
500 | + required: | ||
501 | + - roleName | ||
502 | + RoleUpdateRoleResponseBody: | ||
503 | + title: 'Mediatype identifier: RoleUpdateRoleResponseBody' | ||
504 | + type: object | ||
505 | + properties: | ||
506 | + role: | ||
507 | + $ref: '#/definitions/roleResponseBody' | ||
508 | + UsersBatchAddRequestBody: | ||
509 | + title: UsersBatchAddRequestBody | ||
510 | + type: object | ||
511 | + properties: | ||
512 | + users: | ||
513 | + type: array | ||
514 | + items: | ||
515 | + $ref: '#/definitions/usersRequestBody' | ||
516 | + description: 用户列表 | ||
517 | + usersType: | ||
518 | + type: integer | ||
519 | + description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加) | ||
520 | + required: | ||
521 | + - usersType | ||
522 | + UsersBatchAddResponseBody: | ||
523 | + title: 'Mediatype identifier: UsersBatchAddResponseBody' | ||
524 | + type: object | ||
525 | + properties: | ||
526 | + code: | ||
527 | + type: integer | ||
528 | + required: | ||
529 | + - code | ||
530 | + msg: | ||
531 | + type: string | ||
532 | + required: | ||
533 | + - msg | ||
534 | + UsersBatchEnableRequestBody: | ||
535 | + title: UsersBatchEnableRequestBody | ||
536 | + type: object | ||
537 | + properties: | ||
538 | + enableStatus: | ||
539 | + type: integer | ||
540 | + description: 启用状态(启用:1 禁用:2 注销:3) | ||
541 | + required: | ||
542 | + - enableStatus | ||
543 | + usersIds: | ||
544 | + type: array | ||
545 | + items: | ||
546 | + type: integer | ||
547 | + format: int64 | ||
548 | + required: | ||
549 | + - usersIds | ||
550 | + UsersBatchEnableResponseBody: | ||
551 | + title: 'Mediatype identifier: UsersBatchEnableResponseBody' | ||
552 | + type: object | ||
553 | + properties: | ||
554 | + code: | ||
555 | + type: integer | ||
556 | + required: | ||
557 | + - code | ||
558 | + msg: | ||
559 | + type: string | ||
560 | + required: | ||
561 | + - msg | ||
562 | + UsersBatchResetPasswordRequestBody: | ||
563 | + title: UsersBatchResetPasswordRequestBody | ||
564 | + type: object | ||
565 | + properties: | ||
566 | + password: | ||
567 | + type: string | ||
568 | + description: 密码 | ||
569 | + required: | ||
570 | + - password | ||
571 | + usersIds: | ||
572 | + type: array | ||
573 | + items: | ||
574 | + type: integer | ||
575 | + format: int64 | ||
576 | + required: | ||
577 | + - usersIds | ||
578 | + UsersBatchResetPasswordResponseBody: | ||
579 | + title: 'Mediatype identifier: UsersBatchResetPasswordResponseBody' | ||
580 | + type: object | ||
581 | + properties: | ||
582 | + code: | ||
583 | + type: integer | ||
584 | + required: | ||
585 | + - code | ||
586 | + msg: | ||
587 | + type: string | ||
588 | + required: | ||
589 | + - msg | ||
590 | + UsersCreateUsersRequestBody: | ||
591 | + title: UsersCreateUsersRequestBody | ||
592 | + type: object | ||
593 | + properties: | ||
594 | + companyId: | ||
595 | + type: integer | ||
596 | + description: 企业id | ||
597 | + required: | ||
598 | + - companyId | ||
599 | + cooperationInfo: | ||
600 | + $ref: '#/definitions/cooperationInfoRequestBody' | ||
601 | + departmentId: | ||
602 | + type: integer | ||
603 | + description: 所属部门 | ||
604 | + format: int64 | ||
605 | + enableStatus: | ||
606 | + type: integer | ||
607 | + description: 启用状态(启用:1 禁用:2) | ||
608 | + format: int64 | ||
609 | + organizationId: | ||
610 | + type: integer | ||
611 | + description: 组织机构 | ||
612 | + format: int64 | ||
613 | + usersCode: | ||
614 | + type: string | ||
615 | + description: 用户编号 | ||
616 | + required: | ||
617 | + - usersCode | ||
618 | + usersOrg: | ||
619 | + type: array | ||
620 | + items: | ||
621 | + $ref: '#/definitions/orgRequestBody' | ||
622 | + description: 用户关联的组织 | ||
623 | + usersRole: | ||
624 | + type: array | ||
625 | + items: | ||
626 | + $ref: '#/definitions/roleRequestBody' | ||
627 | + description: 用户关联的角色 | ||
628 | + usersType: | ||
629 | + type: integer | ||
630 | + description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加) | ||
631 | + required: | ||
632 | + - usersType | ||
633 | + UsersCreateUsersResponseBody: | ||
634 | + title: 'Mediatype identifier: UsersCreateUsersResponseBody' | ||
635 | + type: object | ||
636 | + properties: | ||
637 | + users: | ||
638 | + $ref: '#/definitions/usersResponseBody' | ||
639 | + UsersFavoriteMenusDeleteFavoriteMenusResponseBody: | ||
640 | + title: 'Mediatype identifier: UsersFavoriteMenusDeleteFavoriteMenusResponseBody' | ||
641 | + type: object | ||
642 | + properties: | ||
643 | + code: | ||
644 | + type: integer | ||
645 | + required: | ||
646 | + - code | ||
647 | + msg: | ||
648 | + type: string | ||
649 | + required: | ||
650 | + - msg | ||
651 | + UsersFavoriteMenusGetFavoriteMenusResponseBody: | ||
652 | + title: 'Mediatype identifier: UsersFavoriteMenusGetFavoriteMenusResponseBody' | ||
653 | + type: object | ||
654 | + properties: | ||
655 | + users: | ||
656 | + $ref: '#/definitions/usersResponseBody' | ||
657 | + UsersFavoriteMenusUpdateFavoriteMenusRequestBody: | ||
658 | + title: UsersFavoriteMenusUpdateFavoriteMenusRequestBody | ||
659 | + type: object | ||
660 | + properties: | ||
661 | + favoriteMenus: | ||
662 | + type: array | ||
663 | + items: | ||
664 | + type: string | ||
665 | + description: 菜单编码列表 | ||
666 | + UsersFavoriteMenusUpdateFavoriteMenusResponseBody: | ||
667 | + title: 'Mediatype identifier: UsersFavoriteMenusUpdateFavoriteMenusResponseBody' | ||
668 | + type: object | ||
669 | + properties: | ||
670 | + code: | ||
671 | + type: integer | ||
672 | + required: | ||
673 | + - code | ||
674 | + msg: | ||
675 | + type: string | ||
676 | + required: | ||
677 | + - msg | ||
678 | + UsersGetUsersAccessMenusResponseBody: | ||
679 | + title: 'Mediatype identifier: UsersGetUsersAccessMenusResponseBody' | ||
680 | + type: object | ||
681 | + properties: | ||
682 | + menus: | ||
683 | + type: array | ||
684 | + items: | ||
685 | + $ref: '#/definitions/menuResponseBody' | ||
686 | + required: | ||
687 | + - menus | ||
688 | + UsersGetUsersBaseInfoResponseBody: | ||
689 | + title: 'Mediatype identifier: UsersGetUsersBaseInfoResponseBody' | ||
690 | + type: object | ||
691 | + properties: | ||
692 | + users: | ||
693 | + $ref: '#/definitions/usersResponseBody' | ||
694 | + UsersGetUsersResponseBody: | ||
695 | + title: 'Mediatype identifier: UsersGetUsersResponseBody' | ||
696 | + type: object | ||
697 | + properties: | ||
698 | + users: | ||
699 | + $ref: '#/definitions/usersResponseBody' | ||
700 | + UsersListUsersResponseBody: | ||
701 | + title: 'Mediatype identifier: UsersListUsersResponseBody' | ||
702 | + type: object | ||
703 | + properties: | ||
704 | + count: | ||
705 | + type: integer | ||
706 | + description: 匹配数目 | ||
707 | + required: | ||
708 | + - count | ||
709 | + users: | ||
710 | + type: array | ||
711 | + items: | ||
712 | + $ref: '#/definitions/usersResponseBody' | ||
713 | + required: | ||
714 | + - users | ||
715 | + UsersRemoveUsersResponseBody: | ||
716 | + title: 'Mediatype identifier: UsersRemoveUsersResponseBody' | ||
717 | + type: object | ||
718 | + properties: | ||
719 | + users: | ||
720 | + $ref: '#/definitions/usersResponseBody' | ||
721 | + UsersUpdateUsersPhoneAuthRequestBody: | ||
722 | + title: UsersUpdateUsersPhoneAuthRequestBody | ||
723 | + type: object | ||
724 | + properties: | ||
725 | + password: | ||
726 | + type: string | ||
727 | + description: 密码 | ||
728 | + phone: | ||
729 | + type: string | ||
730 | + description: 手机号码 | ||
731 | + UsersUpdateUsersPhoneAuthResponseBody: | ||
732 | + title: 'Mediatype identifier: UsersUpdateUsersPhoneAuthResponseBody' | ||
733 | + type: object | ||
734 | + properties: | ||
735 | + code: | ||
736 | + type: integer | ||
737 | + required: | ||
738 | + - code | ||
739 | + msg: | ||
740 | + type: string | ||
741 | + required: | ||
742 | + - msg | ||
743 | + UsersUpdateUsersRequestBody: | ||
744 | + title: UsersUpdateUsersRequestBody | ||
745 | + type: object | ||
746 | + properties: | ||
747 | + cooperationInfo: | ||
748 | + $ref: '#/definitions/cooperationInfoRequestBody' | ||
749 | + departmentId: | ||
750 | + type: integer | ||
751 | + description: 所属部门 | ||
752 | + format: int64 | ||
753 | + enableStatus: | ||
754 | + type: integer | ||
755 | + description: 启用状态(启用:1 禁用:2) | ||
756 | + format: int64 | ||
757 | + organizationId: | ||
758 | + type: integer | ||
759 | + description: 组织机构 | ||
760 | + format: int64 | ||
761 | + usersCode: | ||
762 | + type: string | ||
763 | + description: 用户编号 | ||
764 | + required: | ||
765 | + - usersCode | ||
766 | + usersOrg: | ||
767 | + type: array | ||
768 | + items: | ||
769 | + $ref: '#/definitions/orgRequestBody' | ||
770 | + description: 用户关联的组织 | ||
771 | + usersRole: | ||
772 | + type: array | ||
773 | + items: | ||
774 | + $ref: '#/definitions/roleRequestBody' | ||
775 | + description: 用户关联的角色 | ||
776 | + UsersUpdateUsersResponseBody: | ||
777 | + title: 'Mediatype identifier: UsersUpdateUsersResponseBody' | ||
778 | + type: object | ||
779 | + properties: | ||
780 | + users: | ||
781 | + $ref: '#/definitions/usersResponseBody' | ||
782 | + cooperationInfoRequestBody: | ||
783 | + title: cooperationInfoRequestBody | ||
784 | + type: object | ||
785 | + properties: | ||
786 | + cooperationCompany: | ||
787 | + type: string | ||
788 | + description: 共创公司 | ||
789 | + cooperationDeadline: | ||
790 | + type: string | ||
791 | + description: 共创到期时间 (yyyy-MM-dd) | ||
792 | + format: datetime | ||
793 | + description: 共创信息 | ||
794 | + cooperationInfoResponseBody: | ||
795 | + title: cooperationInfoResponseBody | ||
796 | + type: object | ||
797 | + properties: | ||
798 | + cooperationCompany: | ||
799 | + type: string | ||
800 | + description: 共创公司 | ||
801 | + cooperationDeadline: | ||
802 | + type: string | ||
803 | + description: 共创到期时间 (yyyy-MM-dd) | ||
804 | + format: datetime | ||
805 | + description: 共创信息 | ||
806 | + extRequestBody: | ||
807 | + title: extRequestBody | ||
808 | + type: object | ||
809 | + properties: | ||
810 | + depName: | ||
811 | + type: string | ||
812 | + description: 部门名称 | ||
813 | + required: | ||
814 | + - depName | ||
815 | + orgName: | ||
816 | + type: string | ||
817 | + description: 组织名称 | ||
818 | + required: | ||
819 | + - orgName | ||
820 | + parentDepName: | ||
821 | + type: string | ||
822 | + description: 父级部门名称 | ||
823 | + required: | ||
824 | + - parentDepName | ||
825 | + phone: | ||
826 | + type: string | ||
827 | + description: 手机号码 | ||
828 | + required: | ||
829 | + - phone | ||
830 | + usersName: | ||
831 | + type: string | ||
832 | + description: 用户姓名 | ||
833 | + required: | ||
834 | + - usersName | ||
835 | + description: 冗余附加数据 | ||
836 | + extResponseBody: | ||
837 | + title: extResponseBody | ||
838 | + type: object | ||
839 | + properties: | ||
840 | + depName: | ||
841 | + type: string | ||
842 | + description: 部门名称 | ||
843 | + required: | ||
844 | + - depName | ||
845 | + orgName: | ||
846 | + type: string | ||
847 | + description: 组织名称 | ||
848 | + required: | ||
849 | + - orgName | ||
850 | + parentDepName: | ||
851 | + type: string | ||
852 | + description: 父级部门名称 | ||
853 | + required: | ||
854 | + - parentDepName | ||
855 | + phone: | ||
856 | + type: string | ||
857 | + description: 手机号码 | ||
858 | + required: | ||
859 | + - phone | ||
860 | + usersName: | ||
861 | + type: string | ||
862 | + description: 用户姓名 | ||
863 | + required: | ||
864 | + - usersName | ||
865 | + description: 冗余附加数据 | ||
866 | + menuResponseBody: | ||
867 | + title: menuResponseBody | ||
868 | + type: object | ||
869 | + properties: | ||
870 | + accessCode: | ||
871 | + type: string | ||
872 | + description: 权限编码 users:edit | ||
873 | + required: | ||
874 | + - accessCode | ||
875 | + category: | ||
876 | + type: string | ||
877 | + description: 菜单类别 (web:1、app:2) | ||
878 | + code: | ||
879 | + type: string | ||
880 | + description: 菜单编码 SYSTEM_USER_EDIT | ||
881 | + required: | ||
882 | + - code | ||
883 | + enableStatus: | ||
884 | + type: integer | ||
885 | + description: 启用状态(启用:1 禁用:0) | ||
886 | + required: | ||
887 | + - enableStatus | ||
888 | + icon: | ||
889 | + type: string | ||
890 | + description: 菜单图标 | ||
891 | + required: | ||
892 | + - icon | ||
893 | + isPublish: | ||
894 | + type: integer | ||
895 | + description: 菜单是否公开状态(上架、下架),[0:隐藏],[1:显示],默认显示 | ||
896 | + required: | ||
897 | + - isPublish | ||
898 | + menuId: | ||
899 | + type: integer | ||
900 | + description: 菜单编号 | ||
901 | + required: | ||
902 | + - menuId | ||
903 | + menuName: | ||
904 | + type: string | ||
905 | + description: 菜单名称 | ||
906 | + required: | ||
907 | + - menuName | ||
908 | + menuType: | ||
909 | + type: string | ||
910 | + description: 菜单类型 (目录catalog、菜单menu、按钮button) | ||
911 | + required: | ||
912 | + - menuType | ||
913 | + parentId: | ||
914 | + type: integer | ||
915 | + description: 父级ID | ||
916 | + required: | ||
917 | + - parentId | ||
918 | + parentPath: | ||
919 | + type: string | ||
920 | + description: 父级节点路径("0,11,12,") | ||
921 | + remark: | ||
922 | + type: string | ||
923 | + description: 备注 | ||
924 | + required: | ||
925 | + - remark | ||
926 | + sort: | ||
927 | + type: integer | ||
928 | + description: 排序 | ||
929 | + required: | ||
930 | + - sort | ||
931 | + description: 系统菜单 | ||
932 | + orgRequestBody: | ||
933 | + title: orgRequestBody | ||
934 | + type: object | ||
935 | + properties: | ||
936 | + companyId: | ||
937 | + type: integer | ||
938 | + description: 企业id | ||
939 | + required: | ||
940 | + - companyId | ||
941 | + createAt: | ||
942 | + type: string | ||
943 | + description: 创建时间 | ||
944 | + required: | ||
945 | + - createAt | ||
946 | + deleteAt: | ||
947 | + type: string | ||
948 | + description: 删除时间 | ||
949 | + required: | ||
950 | + - deleteAt | ||
951 | + ext: | ||
952 | + $ref: '#/definitions/extRequestBody' | ||
953 | + isOrg: | ||
954 | + type: string | ||
955 | + required: | ||
956 | + - isOrg | ||
957 | + orgCode: | ||
958 | + type: string | ||
959 | + description: 组织编码 | ||
960 | + required: | ||
961 | + - orgCode | ||
962 | + orgId: | ||
963 | + type: integer | ||
964 | + description: 组织ID | ||
965 | + required: | ||
966 | + - orgId | ||
967 | + orgName: | ||
968 | + type: string | ||
969 | + description: 组织名称 | ||
970 | + required: | ||
971 | + - orgName | ||
972 | + parentId: | ||
973 | + type: integer | ||
974 | + description: 父级ID | ||
975 | + required: | ||
976 | + - parentId | ||
977 | + parentPath: | ||
978 | + type: string | ||
979 | + description: 父级节点路径("0,11,12,") | ||
980 | + updateAt: | ||
981 | + type: string | ||
982 | + description: 更新时间 | ||
983 | + required: | ||
984 | + - updateAt | ||
985 | + description: 组织 organization | ||
986 | + orgResponseBody: | ||
987 | + title: orgResponseBody | ||
988 | + type: object | ||
989 | + properties: | ||
990 | + companyId: | ||
991 | + type: integer | ||
992 | + description: 企业id | ||
993 | + required: | ||
994 | + - companyId | ||
995 | + createAt: | ||
996 | + type: string | ||
997 | + description: 创建时间 | ||
998 | + required: | ||
999 | + - createAt | ||
1000 | + deleteAt: | ||
1001 | + type: string | ||
1002 | + description: 删除时间 | ||
1003 | + required: | ||
1004 | + - deleteAt | ||
1005 | + ext: | ||
1006 | + $ref: '#/definitions/extResponseBody' | ||
1007 | + isOrg: | ||
1008 | + type: string | ||
1009 | + required: | ||
1010 | + - isOrg | ||
1011 | + orgCode: | ||
1012 | + type: string | ||
1013 | + description: 组织编码 | ||
1014 | + required: | ||
1015 | + - orgCode | ||
1016 | + orgId: | ||
1017 | + type: integer | ||
1018 | + description: 组织ID | ||
1019 | + required: | ||
1020 | + - orgId | ||
1021 | + orgName: | ||
1022 | + type: string | ||
1023 | + description: 组织名称 | ||
1024 | + required: | ||
1025 | + - orgName | ||
1026 | + parentId: | ||
1027 | + type: integer | ||
1028 | + description: 父级ID | ||
1029 | + required: | ||
1030 | + - parentId | ||
1031 | + parentPath: | ||
1032 | + type: string | ||
1033 | + description: 父级节点路径("0,11,12,") | ||
1034 | + updateAt: | ||
1035 | + type: string | ||
1036 | + description: 更新时间 | ||
1037 | + required: | ||
1038 | + - updateAt | ||
1039 | + description: 组织 organization | ||
1040 | + roleRequestBody: | ||
1041 | + title: roleRequestBody | ||
1042 | + type: object | ||
1043 | + properties: | ||
1044 | + accessMenus: | ||
1045 | + type: array | ||
1046 | + items: | ||
1047 | + type: integer | ||
1048 | + format: int64 | ||
1049 | + description: 有权限的菜单 | ||
1050 | + required: | ||
1051 | + - accessMenus | ||
1052 | + companyId: | ||
1053 | + type: integer | ||
1054 | + description: 企业id | ||
1055 | + required: | ||
1056 | + - companyId | ||
1057 | + createAt: | ||
1058 | + type: string | ||
1059 | + description: 创建时间 | ||
1060 | + required: | ||
1061 | + - createAt | ||
1062 | + desc: | ||
1063 | + type: integer | ||
1064 | + description: 描述 | ||
1065 | + required: | ||
1066 | + - desc | ||
1067 | + ext: | ||
1068 | + $ref: '#/definitions/extRequestBody' | ||
1069 | + orgId: | ||
1070 | + type: integer | ||
1071 | + description: 组织ID | ||
1072 | + required: | ||
1073 | + - orgId | ||
1074 | + roleId: | ||
1075 | + type: integer | ||
1076 | + description: 角色ID | ||
1077 | + required: | ||
1078 | + - roleId | ||
1079 | + roleName: | ||
1080 | + type: string | ||
1081 | + description: 角色名称 | ||
1082 | + required: | ||
1083 | + - roleName | ||
1084 | + updateAt: | ||
1085 | + type: string | ||
1086 | + description: 更新时间 | ||
1087 | + required: | ||
1088 | + - updateAt | ||
1089 | + description: 角色 (base) | ||
1090 | + roleResponseBody: | ||
1091 | + title: roleResponseBody | ||
1092 | + type: object | ||
1093 | + properties: | ||
1094 | + accessMenus: | ||
1095 | + type: array | ||
1096 | + items: | ||
1097 | + type: integer | ||
1098 | + format: int64 | ||
1099 | + description: 有权限的菜单 | ||
1100 | + required: | ||
1101 | + - accessMenus | ||
1102 | + companyId: | ||
1103 | + type: integer | ||
1104 | + description: 企业id | ||
1105 | + required: | ||
1106 | + - companyId | ||
1107 | + createAt: | ||
1108 | + type: string | ||
1109 | + description: 创建时间 | ||
1110 | + required: | ||
1111 | + - createAt | ||
1112 | + desc: | ||
1113 | + type: integer | ||
1114 | + description: 描述 | ||
1115 | + required: | ||
1116 | + - desc | ||
1117 | + ext: | ||
1118 | + $ref: '#/definitions/extResponseBody' | ||
1119 | + orgId: | ||
1120 | + type: integer | ||
1121 | + description: 组织ID | ||
1122 | + required: | ||
1123 | + - orgId | ||
1124 | + roleId: | ||
1125 | + type: integer | ||
1126 | + description: 角色ID | ||
1127 | + required: | ||
1128 | + - roleId | ||
1129 | + roleName: | ||
1130 | + type: string | ||
1131 | + description: 角色名称 | ||
1132 | + required: | ||
1133 | + - roleName | ||
1134 | + updateAt: | ||
1135 | + type: string | ||
1136 | + description: 更新时间 | ||
1137 | + required: | ||
1138 | + - updateAt | ||
1139 | + description: 角色 (base) | ||
1140 | + usersRequestBody: | ||
1141 | + title: usersRequestBody | ||
1142 | + type: object | ||
1143 | + properties: | ||
1144 | + companyId: | ||
1145 | + type: integer | ||
1146 | + description: 企业id | ||
1147 | + required: | ||
1148 | + - companyId | ||
1149 | + cooperationInfo: | ||
1150 | + $ref: '#/definitions/cooperationInfoRequestBody' | ||
1151 | + createAt: | ||
1152 | + type: string | ||
1153 | + description: 创建时间 | ||
1154 | + required: | ||
1155 | + - createAt | ||
1156 | + departmentId: | ||
1157 | + type: integer | ||
1158 | + description: 所属部门 | ||
1159 | + format: int64 | ||
1160 | + enableStatus: | ||
1161 | + type: integer | ||
1162 | + description: 启用状态(启用:1 禁用:2) | ||
1163 | + format: int64 | ||
1164 | + ext: | ||
1165 | + $ref: '#/definitions/extRequestBody' | ||
1166 | + favoriteMenus: | ||
1167 | + type: array | ||
1168 | + items: | ||
1169 | + type: string | ||
1170 | + description: 收藏的菜单(工作台)(菜单编码列表) | ||
1171 | + organizationId: | ||
1172 | + type: integer | ||
1173 | + description: 组织机构 | ||
1174 | + format: int64 | ||
1175 | + updateAt: | ||
1176 | + type: string | ||
1177 | + description: 更新时间 | ||
1178 | + required: | ||
1179 | + - updateAt | ||
1180 | + usersBaseId: | ||
1181 | + type: integer | ||
1182 | + description: 用户基础数据id | ||
1183 | + required: | ||
1184 | + - usersBaseId | ||
1185 | + usersCode: | ||
1186 | + type: string | ||
1187 | + description: 用户编号 | ||
1188 | + required: | ||
1189 | + - usersCode | ||
1190 | + usersId: | ||
1191 | + type: integer | ||
1192 | + description: 用户编号 | ||
1193 | + required: | ||
1194 | + - usersId | ||
1195 | + usersOrg: | ||
1196 | + type: array | ||
1197 | + items: | ||
1198 | + $ref: '#/definitions/orgRequestBody' | ||
1199 | + description: 用户关联的组织 | ||
1200 | + usersRole: | ||
1201 | + type: array | ||
1202 | + items: | ||
1203 | + $ref: '#/definitions/roleRequestBody' | ||
1204 | + description: 用户关联的角色 | ||
1205 | + usersType: | ||
1206 | + type: integer | ||
1207 | + description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加) | ||
1208 | + required: | ||
1209 | + - usersType | ||
1210 | + description: 用户 | ||
1211 | + usersResponseBody: | ||
1212 | + title: usersResponseBody | ||
1213 | + type: object | ||
1214 | + properties: | ||
1215 | + companyId: | ||
1216 | + type: integer | ||
1217 | + description: 企业id | ||
1218 | + required: | ||
1219 | + - companyId | ||
1220 | + cooperationInfo: | ||
1221 | + $ref: '#/definitions/cooperationInfoResponseBody' | ||
1222 | + createAt: | ||
1223 | + type: string | ||
1224 | + description: 创建时间 | ||
1225 | + required: | ||
1226 | + - createAt | ||
1227 | + departmentId: | ||
1228 | + type: integer | ||
1229 | + description: 所属部门 | ||
1230 | + format: int64 | ||
1231 | + enableStatus: | ||
1232 | + type: integer | ||
1233 | + description: 启用状态(启用:1 禁用:2) | ||
1234 | + format: int64 | ||
1235 | + ext: | ||
1236 | + $ref: '#/definitions/extResponseBody' | ||
1237 | + favoriteMenus: | ||
1238 | + type: array | ||
1239 | + items: | ||
1240 | + type: string | ||
1241 | + description: 收藏的菜单(工作台)(菜单编码列表) | ||
1242 | + organizationId: | ||
1243 | + type: integer | ||
1244 | + description: 组织机构 | ||
1245 | + format: int64 | ||
1246 | + updateAt: | ||
1247 | + type: string | ||
1248 | + description: 更新时间 | ||
1249 | + required: | ||
1250 | + - updateAt | ||
1251 | + usersBaseId: | ||
1252 | + type: integer | ||
1253 | + description: 用户基础数据id | ||
1254 | + required: | ||
1255 | + - usersBaseId | ||
1256 | + usersCode: | ||
1257 | + type: string | ||
1258 | + description: 用户编号 | ||
1259 | + required: | ||
1260 | + - usersCode | ||
1261 | + usersId: | ||
1262 | + type: integer | ||
1263 | + description: 用户编号 | ||
1264 | + required: | ||
1265 | + - usersId | ||
1266 | + usersOrg: | ||
1267 | + type: array | ||
1268 | + items: | ||
1269 | + $ref: '#/definitions/orgResponseBody' | ||
1270 | + description: 用户关联的组织 | ||
1271 | + usersRole: | ||
1272 | + type: array | ||
1273 | + items: | ||
1274 | + $ref: '#/definitions/roleResponseBody' | ||
1275 | + description: 用户关联的角色 | ||
1276 | + usersType: | ||
1277 | + type: integer | ||
1278 | + description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加) | ||
1279 | + required: | ||
1280 | + - usersType | ||
1281 | + description: 用户 |
@@ -5,6 +5,6 @@ metadata: | @@ -5,6 +5,6 @@ metadata: | ||
5 | description: 天联企业管理系统 | 5 | description: 天联企业管理系统 |
6 | version: 0.0.1 | 6 | version: 0.0.1 |
7 | repository: gitlab.fjmaimaimai.com/allied-creation/allied-creation-user | 7 | repository: gitlab.fjmaimaimai.com/allied-creation/allied-creation-user |
8 | - contact: | ||
9 | - name: | ||
10 | - email: | ||
8 | + contact: | ||
9 | + name: | ||
10 | + email: |
@@ -4,29 +4,29 @@ metadata: | @@ -4,29 +4,29 @@ metadata: | ||
4 | name: app | 4 | name: app |
5 | description: app项目管理 | 5 | description: app项目管理 |
6 | attributes: | 6 | attributes: |
7 | - - name: appId | ||
8 | - description: appId | ||
9 | - type: | ||
10 | - primitive: int64 | ||
11 | - - name: project | ||
12 | - description: 项目标识 ability | ||
13 | - type: | ||
14 | - primitive: string | ||
15 | - - name: app | ||
16 | - description: 应用标识 ability.boss.pad | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - - name: icon | ||
20 | - description: 图标地址 | ||
21 | - type: | ||
22 | - primitive: string | ||
23 | - - name: remark | ||
24 | - description: 备注信息 | ||
25 | - type: | ||
26 | - primitive: string | ||
27 | - - ref: createAt | ||
28 | - required: true | ||
29 | - - ref: updateAt | ||
30 | - required: true | ||
31 | - - ref: deleteAt | ||
32 | - required: true | ||
7 | + - name: appId | ||
8 | + description: appId | ||
9 | + type: | ||
10 | + primitive: int64 | ||
11 | + - name: project | ||
12 | + description: 项目标识 ability | ||
13 | + type: | ||
14 | + primitive: string | ||
15 | + - name: app | ||
16 | + description: 应用标识 ability.boss.pad | ||
17 | + type: | ||
18 | + primitive: string | ||
19 | + - name: icon | ||
20 | + description: 图标地址 | ||
21 | + type: | ||
22 | + primitive: string | ||
23 | + - name: remark | ||
24 | + description: 备注信息 | ||
25 | + type: | ||
26 | + primitive: string | ||
27 | + - ref: createAt | ||
28 | + required: true | ||
29 | + - ref: updateAt | ||
30 | + required: true | ||
31 | + - ref: deleteAt | ||
32 | + required: true |
@@ -4,29 +4,29 @@ metadata: | @@ -4,29 +4,29 @@ metadata: | ||
4 | name: appVersion | 4 | name: appVersion |
5 | description: App版本管理 | 5 | description: App版本管理 |
6 | attributes: | 6 | attributes: |
7 | - - name: appVersionId | ||
8 | - description: app版本id | ||
9 | - type: | ||
10 | - primitive: int64 | ||
11 | - - name: app | ||
12 | - description: 应用 | ||
13 | - type: | ||
14 | - schema: app | ||
15 | - - name: os | ||
16 | - description: 设备类型 0:IOS 1:安卓 | ||
17 | - type: | ||
18 | - primitive: int | ||
19 | - - name: version | ||
20 | - description: 版本信息 | ||
21 | - type: | ||
22 | - schema: appVersionInfo | ||
23 | - - name: remark | ||
24 | - description: 备注信息 | ||
25 | - type: | ||
26 | - primitive: string | ||
27 | - - ref: createAt | ||
28 | - required: true | ||
29 | - - ref: updateAt | ||
30 | - required: true | ||
31 | - - ref: deleteAt | ||
32 | - required: true | 7 | + - name: appVersionId |
8 | + description: app版本id | ||
9 | + type: | ||
10 | + primitive: int64 | ||
11 | + - name: app | ||
12 | + description: 应用 | ||
13 | + type: | ||
14 | + schema: app | ||
15 | + - name: os | ||
16 | + description: 设备类型 0:IOS 1:安卓 | ||
17 | + type: | ||
18 | + primitive: int | ||
19 | + - name: version | ||
20 | + description: 版本信息 | ||
21 | + type: | ||
22 | + schema: appVersionInfo | ||
23 | + - name: remark | ||
24 | + description: 备注信息 | ||
25 | + type: | ||
26 | + primitive: string | ||
27 | + - ref: createAt | ||
28 | + required: true | ||
29 | + - ref: updateAt | ||
30 | + required: true | ||
31 | + - ref: deleteAt | ||
32 | + required: true |
@@ -4,43 +4,43 @@ metadata: | @@ -4,43 +4,43 @@ metadata: | ||
4 | name: appVersionInfo | 4 | name: appVersionInfo |
5 | description: app 版本信息 | 5 | description: app 版本信息 |
6 | attributes: | 6 | attributes: |
7 | - - name: versionNo | ||
8 | - description: 版本号 | ||
9 | - type: | ||
10 | - primitive: string | ||
11 | - - name: versionName | ||
12 | - description: 版本名称 | ||
13 | - type: | ||
14 | - primitive: string | ||
15 | - - name: title | ||
16 | - description: 标题 | ||
17 | - type: | ||
18 | - primitive: string | ||
19 | - - name: summary | ||
20 | - description: 版本概要 | ||
21 | - type: | ||
22 | - primitive: string | ||
23 | - - name: content | ||
24 | - description: 版本内容 | ||
25 | - type: | ||
26 | - primitive: string | ||
27 | - - name: deviceType | ||
28 | - description: 设备类型 0:ios , 1:android | ||
29 | - type: | ||
30 | - primitive: int | ||
31 | - - name: downloadPage | ||
32 | - description: 下载页面 | ||
33 | - type: | ||
34 | - primitive: string | ||
35 | - - name: downloadFile | ||
36 | - description: 文件下载地址 | ||
37 | - type: | ||
38 | - primitive: string | ||
39 | - - name: updateType | ||
40 | - description: 更新类型 0不需要更新 1是引导更新 2是强制更新 | ||
41 | - type: | ||
42 | - primitive: int | ||
43 | - - name: channel | ||
44 | - description: 更新的渠道 当前渠道 0_AppStore、1_fir平台、2_华为、3_小米、4_魅族、5_oppo、6_vivo、7_360、8_百度、9_应用宝、10_其他(使用应用宝地址) | ||
45 | - type: | ||
46 | - array: int | ||
7 | + - name: versionNo | ||
8 | + description: 版本号 | ||
9 | + type: | ||
10 | + primitive: string | ||
11 | + - name: versionName | ||
12 | + description: 版本名称 | ||
13 | + type: | ||
14 | + primitive: string | ||
15 | + - name: title | ||
16 | + description: 标题 | ||
17 | + type: | ||
18 | + primitive: string | ||
19 | + - name: summary | ||
20 | + description: 版本概要 | ||
21 | + type: | ||
22 | + primitive: string | ||
23 | + - name: content | ||
24 | + description: 版本内容 | ||
25 | + type: | ||
26 | + primitive: string | ||
27 | + - name: deviceType | ||
28 | + description: 设备类型 0:ios , 1:android | ||
29 | + type: | ||
30 | + primitive: int | ||
31 | + - name: downloadPage | ||
32 | + description: 下载页面 | ||
33 | + type: | ||
34 | + primitive: string | ||
35 | + - name: downloadFile | ||
36 | + description: 文件下载地址 | ||
37 | + type: | ||
38 | + primitive: string | ||
39 | + - name: updateType | ||
40 | + description: 更新类型 0不需要更新 1是引导更新 2是强制更新 | ||
41 | + type: | ||
42 | + primitive: int | ||
43 | + - name: channel | ||
44 | + description: 更新的渠道 当前渠道 0_AppStore、1_fir平台、2_华为、3_小米、4_魅族、5_oppo、6_vivo、7_360、8_百度、9_应用宝、10_其他(使用应用宝地址) | ||
45 | + type: | ||
46 | + array: int |
@@ -4,22 +4,21 @@ metadata: | @@ -4,22 +4,21 @@ metadata: | ||
4 | name: company | 4 | name: company |
5 | description: 企业信息 (base) | 5 | description: 企业信息 (base) |
6 | attributes: | 6 | attributes: |
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: createAt | ||
22 | - required: false | ||
23 | - - ref: updateAt | ||
24 | - required: false | ||
25 | - | 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: createAt | ||
22 | + required: false | ||
23 | + - ref: updateAt | ||
24 | + required: false |
@@ -4,11 +4,11 @@ metadata: | @@ -4,11 +4,11 @@ metadata: | ||
4 | name: companyConfig | 4 | name: companyConfig |
5 | description: 公司配置信息 | 5 | description: 公司配置信息 |
6 | attributes: | 6 | attributes: |
7 | - - name: systemName | ||
8 | - description: 系统名称 | ||
9 | - type: | ||
10 | - primitive: string | ||
11 | - - name: theme | ||
12 | - description: 主题 | ||
13 | - type: | ||
14 | - primitive: string | 7 | + - name: systemName |
8 | + description: 系统名称 | ||
9 | + type: | ||
10 | + primitive: string | ||
11 | + - name: theme | ||
12 | + description: 主题 | ||
13 | + type: | ||
14 | + primitive: string |
@@ -4,23 +4,23 @@ metadata: | @@ -4,23 +4,23 @@ metadata: | ||
4 | name: companyInfo | 4 | name: companyInfo |
5 | description: 公司信息 | 5 | description: 公司信息 |
6 | attributes: | 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 | ||
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 |
@@ -4,11 +4,11 @@ metadata: | @@ -4,11 +4,11 @@ metadata: | ||
4 | name: cooperationInfo | 4 | name: cooperationInfo |
5 | description: 共创信息 | 5 | description: 共创信息 |
6 | attributes: | 6 | attributes: |
7 | - - name: cooperationCompany | ||
8 | - description: 共创公司 | ||
9 | - type: | ||
10 | - primitive: string | ||
11 | - - name: cooperationDeadline | ||
12 | - description: 共创到期时间 (yyyy-MM-dd) | ||
13 | - type: | ||
14 | - primitive: datetime | 7 | + - name: cooperationCompany |
8 | + description: 共创公司 | ||
9 | + type: | ||
10 | + primitive: string | ||
11 | + - name: cooperationDeadline | ||
12 | + description: 共创到期时间 (yyyy-MM-dd) | ||
13 | + type: | ||
14 | + primitive: datetime |
@@ -4,16 +4,16 @@ metadata: | @@ -4,16 +4,16 @@ metadata: | ||
4 | name: ext | 4 | name: ext |
5 | description: 冗余附加数据 | 5 | description: 冗余附加数据 |
6 | attributes: | 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 | 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 |
@@ -4,15 +4,15 @@ metadata: | @@ -4,15 +4,15 @@ metadata: | ||
4 | name: im | 4 | name: im |
5 | description: 冗余附加数据 | 5 | description: 冗余附加数据 |
6 | attributes: | 6 | attributes: |
7 | - - name: accid | ||
8 | - description: 网易云信ID | ||
9 | - type: | ||
10 | - primitive: string | ||
11 | - - name: imToken | ||
12 | - description: 网易云信Token | ||
13 | - type: | ||
14 | - primitive: string | ||
15 | - - name: csAccountId | ||
16 | - description: 系统分配客服ID | ||
17 | - type: | ||
18 | - primitive: string | 7 | + - name: accid |
8 | + description: 网易云信ID | ||
9 | + type: | ||
10 | + primitive: string | ||
11 | + - name: imToken | ||
12 | + description: 网易云信Token | ||
13 | + type: | ||
14 | + primitive: string | ||
15 | + - name: csAccountId | ||
16 | + description: 系统分配客服ID | ||
17 | + type: | ||
18 | + primitive: string |
@@ -5,24 +5,24 @@ metadata: | @@ -5,24 +5,24 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 企业注册 | 6 | description: 企业注册 |
7 | payload: | 7 | payload: |
8 | - - ref: companyName | ||
9 | - required: true | ||
10 | - - ref: contacts | ||
11 | - required: true | ||
12 | - - ref: phone | ||
13 | - required: true | ||
14 | - - ref: scale | ||
15 | - required: true | ||
16 | - - ref: industryCategory | ||
17 | - required: true | ||
18 | - - ref: password | ||
19 | - required: true | 8 | + - ref: companyName |
9 | + required: true | ||
10 | + - ref: contacts | ||
11 | + required: true | ||
12 | + - ref: phone | ||
13 | + required: true | ||
14 | + - ref: scale | ||
15 | + required: true | ||
16 | + - ref: industryCategory | ||
17 | + required: true | ||
18 | + - ref: password | ||
19 | + required: true | ||
20 | result: | 20 | result: |
21 | - - name: code | ||
22 | - type: | ||
23 | - primitive: int | ||
24 | - required: true | ||
25 | - - name: msg | ||
26 | - type: | ||
27 | - primitive: string | ||
28 | - required: true | 21 | + - name: code |
22 | + type: | ||
23 | + primitive: int | ||
24 | + required: true | ||
25 | + - name: msg | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + required: true |
@@ -5,14 +5,14 @@ metadata: | @@ -5,14 +5,14 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 注销账号 (添加用户时重新激活) | 6 | description: 注销账号 (添加用户时重新激活) |
7 | payload: | 7 | payload: |
8 | - - ref: userId | ||
9 | - required: true | 8 | + - ref: usersId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: code | ||
12 | - type: | ||
13 | - primitive: int | ||
14 | - required: true | ||
15 | - - name: msg | ||
16 | - type: | ||
17 | - primitive: string | ||
18 | - required: true | 11 | + - name: code |
12 | + type: | ||
13 | + primitive: int | ||
14 | + required: true | ||
15 | + - name: msg | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + required: true |
@@ -5,16 +5,16 @@ metadata: | @@ -5,16 +5,16 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 手机账号密码检查 | 6 | description: 手机账号密码检查 |
7 | payload: | 7 | payload: |
8 | - - ref: phone | ||
9 | - required: true | ||
10 | - - ref: password | ||
11 | - required: true | 8 | + - ref: phone |
9 | + required: true | ||
10 | + - ref: password | ||
11 | + required: true | ||
12 | result: | 12 | result: |
13 | - - name: code | ||
14 | - type: | ||
15 | - primitive: int | ||
16 | - required: true | ||
17 | - - name: msg | ||
18 | - type: | ||
19 | - primitive: string | ||
20 | - required: true | 13 | + - name: code |
14 | + type: | ||
15 | + primitive: int | ||
16 | + required: true | ||
17 | + - name: msg | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + required: true |
@@ -5,12 +5,12 @@ metadata: | @@ -5,12 +5,12 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 重置密码(忘记密码) | 6 | description: 重置密码(忘记密码) |
7 | payload: | 7 | payload: |
8 | - - ref: phone | ||
9 | - required: true | ||
10 | - - ref: password | ||
11 | - required: true | 8 | + - ref: phone |
9 | + required: true | ||
10 | + - ref: password | ||
11 | + required: true | ||
12 | result: | 12 | result: |
13 | - - name: msg | ||
14 | - description: 消息 | ||
15 | - type: | ||
16 | - primitive: string | ||
13 | + - name: msg | ||
14 | + description: 消息 | ||
15 | + type: | ||
16 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCompany | ||
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: companys | ||
16 | + type: | ||
17 | + array: company | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCompany | ||
5 | + type: command | ||
6 | + description: 更新企业 | ||
7 | + payload: | ||
8 | + - ref: companyId | ||
9 | + required: true | ||
10 | + - ref: companyName | ||
11 | + required: true | ||
12 | + - ref: address | ||
13 | + required: true | ||
14 | + - ref: systemName | ||
15 | + required: true | ||
16 | + - ref: logo | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - name: company | ||
20 | + type: | ||
21 | + schema: company | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCompanyCustomizeMenus | ||
5 | + type: command | ||
6 | + description: 菜单维护 | ||
7 | + payload: | ||
8 | + - ref: companyId | ||
9 | + required: true | ||
10 | + - ref: menuId | ||
11 | + required: true | ||
12 | + - ref: menuName | ||
13 | + required: true | ||
14 | + - ref: menuAlias | ||
15 | + required: true | ||
16 | + - ref: sort | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - name: customizeMenu | ||
20 | + type: | ||
21 | + schema: customizeMenu | ||
22 | + required: true |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: listMenu | 4 | name: listMenu |
5 | type: query | 5 | type: query |
6 | - description: 返回菜单服务列表 | 6 | + description: 返回菜单列表 |
7 | payload: | 7 | payload: |
8 | - name: menuCategory | 8 | - name: menuCategory |
9 | description: 菜单类别 web app | 9 | description: 菜单类别 web app |
@@ -3,20 +3,20 @@ kind: Method | @@ -3,20 +3,20 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: createOrg | 4 | name: createOrg |
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: 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: | 18 | result: |
19 | - - name: org | ||
20 | - type: | ||
21 | - schema: org | ||
22 | - required: true | 19 | + - name: org |
20 | + type: | ||
21 | + schema: org | ||
22 | + required: true |
@@ -3,12 +3,12 @@ kind: Method | @@ -3,12 +3,12 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: getOrg | 4 | name: getOrg |
5 | type: query | 5 | type: query |
6 | - description: 返回组织管理 | 6 | + description: 返回组织 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - ref: orgId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: org | ||
12 | - type: | ||
13 | - schema: org | ||
14 | - required: true | 11 | + - name: org |
12 | + type: | ||
13 | + schema: org | ||
14 | + required: true |
@@ -5,14 +5,14 @@ metadata: | @@ -5,14 +5,14 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 获取组织的子部门(通用部门列表使用) | 6 | description: 获取组织的子部门(通用部门列表使用) |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | ||
10 | - - name: childFlag | ||
11 | - description: 获取所有子节点 (1:获取当前下级子节点 2:获取当前下级所有子节点) | ||
12 | - type: | ||
13 | - primitive: int | 8 | + - ref: orgId |
9 | + required: true | ||
10 | + - name: childFlag | ||
11 | + description: 获取所有子节点 (1:获取当前下级子节点 2:获取当前下级所有子节点) | ||
12 | + type: | ||
13 | + primitive: int | ||
14 | result: | 14 | result: |
15 | - - name: org | ||
16 | - type: | ||
17 | - schema: org | ||
18 | - required: true | 15 | + - name: org |
16 | + type: | ||
17 | + array: org | ||
18 | + required: true |
@@ -3,26 +3,26 @@ kind: Method | @@ -3,26 +3,26 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: listOrg | 4 | name: listOrg |
5 | type: query | 5 | type: query |
6 | - description: 返回组织管理列表 | 6 | + description: 返回组织列表 |
7 | payload: | 7 | payload: |
8 | - - ref: offset | ||
9 | - required: false | ||
10 | - - ref: limit | ||
11 | - required: false | ||
12 | - - ref: companyId | ||
13 | - required: true | ||
14 | - - ref: orgCode | ||
15 | - required: false | ||
16 | - - ref: depName | ||
17 | - required: false | ||
18 | - - ref: parentId | ||
19 | - required: false | ||
20 | - - ref: isOrg | ||
21 | - required: false | 8 | + - ref: offset |
9 | + required: false | ||
10 | + - ref: limit | ||
11 | + required: false | ||
12 | + - ref: companyId | ||
13 | + required: true | ||
14 | + - ref: orgCode | ||
15 | + required: false | ||
16 | + - ref: depName | ||
17 | + required: false | ||
18 | + - ref: parentId | ||
19 | + required: false | ||
20 | + - ref: isOrg | ||
21 | + required: false | ||
22 | result: | 22 | result: |
23 | - - ref: count | ||
24 | - required: true | ||
25 | - - name: orgs | ||
26 | - type: | ||
27 | - array: org | ||
28 | - required: true | 23 | + - ref: count |
24 | + required: true | ||
25 | + - name: orgs | ||
26 | + type: | ||
27 | + array: org | ||
28 | + required: true |
@@ -3,12 +3,12 @@ kind: Method | @@ -3,12 +3,12 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: removeOrg | 4 | name: removeOrg |
5 | type: command | 5 | type: command |
6 | - description: 移除组织管理 | 6 | + description: 移除组织 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - ref: orgId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: org | ||
12 | - type: | ||
13 | - schema: org | ||
14 | - required: true | 11 | + - name: org |
12 | + type: | ||
13 | + schema: org | ||
14 | + required: true |
@@ -3,20 +3,20 @@ kind: Method | @@ -3,20 +3,20 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: updateOrg | 4 | name: updateOrg |
5 | type: command | 5 | type: command |
6 | - description: 更新组织管理 | 6 | + description: 更新组织 |
7 | payload: | 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 | 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: | 18 | result: |
19 | - - name: org | ||
20 | - type: | ||
21 | - schema: org | ||
22 | - required: true | 19 | + - name: org |
20 | + type: | ||
21 | + schema: org | ||
22 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 分配角色给多个用户 | 6 | description: 分配角色给多个用户 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | ||
10 | - - name: usersIds | ||
11 | - description: 用户列表 | ||
12 | - type: | ||
13 | - array: int64 | 8 | + - ref: roleId |
9 | + required: true | ||
10 | + - name: usersIds | ||
11 | + description: 用户列表 | ||
12 | + type: | ||
13 | + array: int64 | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
@@ -3,14 +3,14 @@ kind: Method | @@ -3,14 +3,14 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: createRole | 4 | name: createRole |
5 | type: command | 5 | type: command |
6 | - description: 创建角色管理 | 6 | + description: 创建角色 |
7 | payload: | 7 | payload: |
8 | - - ref: roleName | ||
9 | - required: true | ||
10 | - - ref: desc | ||
11 | - required: false | 8 | + - ref: roleName |
9 | + required: true | ||
10 | + - ref: desc | ||
11 | + required: false | ||
12 | result: | 12 | result: |
13 | - - name: role | ||
14 | - type: | ||
15 | - schema: role | ||
16 | - required: true | 13 | + - name: role |
14 | + type: | ||
15 | + schema: role | ||
16 | + required: true |
@@ -3,12 +3,12 @@ kind: Method | @@ -3,12 +3,12 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: getRole | 4 | name: getRole |
5 | type: query | 5 | type: query |
6 | - description: 返回角色管理 | 6 | + description: 返回角色 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | 8 | + - ref: roleId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: role | ||
12 | - type: | ||
13 | - schema: role | ||
14 | - required: true | 11 | + - name: role |
12 | + type: | ||
13 | + schema: role | ||
14 | + required: true |
@@ -5,10 +5,10 @@ metadata: | @@ -5,10 +5,10 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 获取角色菜单 | 6 | description: 获取角色菜单 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | 8 | + - ref: roleId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: accessMenus | ||
12 | - type: | ||
13 | - array: int64 | ||
14 | - required: true | 11 | + - name: accessMenus |
12 | + type: | ||
13 | + array: int64 | ||
14 | + required: true |
@@ -5,14 +5,14 @@ metadata: | @@ -5,14 +5,14 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 获取角色相关联的用户 | 6 | description: 获取角色相关联的用户 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | ||
10 | - - ref: orgId | ||
11 | - required: false | ||
12 | - - ref: departmentId | ||
13 | - required: false | 8 | + - ref: roleId |
9 | + required: true | ||
10 | + - ref: orgId | ||
11 | + required: false | ||
12 | + - ref: departmentId | ||
13 | + required: false | ||
14 | result: | 14 | result: |
15 | - - name: role | ||
16 | - type: | ||
17 | - schema: role | ||
18 | - required: true | 15 | + - name: role |
16 | + type: | ||
17 | + schema: role | ||
18 | + required: true |
@@ -3,27 +3,27 @@ kind: Method | @@ -3,27 +3,27 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: listRole | 4 | name: listRole |
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: roleName | ||
13 | - required: false | ||
14 | - - ref: orgName | ||
15 | - required: false | ||
16 | - - ref: orgId | ||
17 | - required: false | ||
18 | - - name: inOrgIds | ||
19 | - description: 匹配多个组织 1,2,3 逗号分割 inOrgIds | ||
20 | - required: false | ||
21 | - type: | ||
22 | - primitive: string | 8 | + - ref: offset |
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - ref: roleName | ||
13 | + required: false | ||
14 | + - ref: orgName | ||
15 | + required: false | ||
16 | + - ref: orgId | ||
17 | + required: false | ||
18 | + - name: inOrgIds | ||
19 | + description: 匹配多个组织 1,2,3 逗号分割 inOrgIds | ||
20 | + required: false | ||
21 | + type: | ||
22 | + primitive: string | ||
23 | result: | 23 | result: |
24 | - - ref: count | ||
25 | - required: true | ||
26 | - - name: roles | ||
27 | - type: | ||
28 | - array: role | ||
29 | - required: true | 24 | + - ref: count |
25 | + required: true | ||
26 | + - name: roles | ||
27 | + type: | ||
28 | + array: role | ||
29 | + required: true |
@@ -3,12 +3,12 @@ kind: Method | @@ -3,12 +3,12 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: removeRole | 4 | name: removeRole |
5 | type: command | 5 | type: command |
6 | - description: 移除角色管理 | 6 | + description: 移除角色 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | 8 | + - ref: roleId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: role | ||
12 | - type: | ||
13 | - schema: role | ||
14 | - required: true | 11 | + - name: role |
12 | + type: | ||
13 | + schema: role | ||
14 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 取消用户分配的角色 | 6 | description: 取消用户分配的角色 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | ||
10 | - - name: usersIds | ||
11 | - description: 用户列表 | ||
12 | - type: | ||
13 | - array: int64 | 8 | + - ref: roleId |
9 | + required: true | ||
10 | + - name: usersIds | ||
11 | + description: 用户列表 | ||
12 | + type: | ||
13 | + array: int64 | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
@@ -3,16 +3,16 @@ kind: Method | @@ -3,16 +3,16 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: updateRole | 4 | name: updateRole |
5 | type: command | 5 | type: command |
6 | - description: 更新角色管理 | 6 | + description: 更新角色 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | ||
10 | - - ref: roleName | ||
11 | - required: true | ||
12 | - - ref: desc | ||
13 | - required: false | 8 | + - ref: roleId |
9 | + required: true | ||
10 | + - ref: roleName | ||
11 | + required: true | ||
12 | + - ref: desc | ||
13 | + required: false | ||
14 | result: | 14 | result: |
15 | - - name: role | ||
16 | - type: | ||
17 | - schema: role | ||
18 | - required: true | 15 | + - name: role |
16 | + type: | ||
17 | + schema: role | ||
18 | + required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: setRoleAccessMenus | 4 | + name: updateRoleAccessMenus |
5 | type: command | 5 | type: command |
6 | description: 角色设置菜单 | 6 | description: 角色设置菜单 |
7 | payload: | 7 | payload: |
8 | - - ref: roleId | ||
9 | - required: true | ||
10 | - - name: accessMenus | ||
11 | - description: 菜单编号列表 | ||
12 | - type: | ||
13 | - array: int64 | 8 | + - ref: roleId |
9 | + required: true | ||
10 | + - name: accessMenus | ||
11 | + description: 菜单编号列表 | ||
12 | + type: | ||
13 | + array: int64 | ||
14 | result: | 14 | result: |
15 | - - name: role | ||
16 | - type: | ||
17 | - schema: role | ||
18 | - required: true | 15 | + - name: role |
16 | + type: | ||
17 | + schema: role | ||
18 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 批量添加 | 6 | description: 批量添加 |
7 | payload: | 7 | payload: |
8 | - - ref: usersType | ||
9 | - required: true | ||
10 | - - name: users | ||
11 | - description: 用户列表 | ||
12 | - type: | ||
13 | - array: users | 8 | + - ref: usersType |
9 | + required: true | ||
10 | + - name: users | ||
11 | + description: 用户列表 | ||
12 | + type: | ||
13 | + array: users | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 批量修改启用状态 | 6 | description: 批量修改启用状态 |
7 | payload: | 7 | payload: |
8 | - - name: usersIds | ||
9 | - type: | ||
10 | - array: int64 | ||
11 | - required: true | ||
12 | - - ref: enableStatus | ||
13 | - required: true | 8 | + - name: usersIds |
9 | + type: | ||
10 | + array: int64 | ||
11 | + required: true | ||
12 | + - ref: enableStatus | ||
13 | + required: true | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 批量重置密码 | 6 | description: 批量重置密码 |
7 | payload: | 7 | payload: |
8 | - - name: usersIds | ||
9 | - type: | ||
10 | - array: int64 | ||
11 | - required: true | ||
12 | - - ref: password | ||
13 | - required: true | 8 | + - name: usersIds |
9 | + type: | ||
10 | + array: int64 | ||
11 | + required: true | ||
12 | + - ref: password | ||
13 | + required: true | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
@@ -5,38 +5,38 @@ metadata: | @@ -5,38 +5,38 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 创建 | 6 | description: 创建 |
7 | payload: | 7 | payload: |
8 | - - ref: companyId | ||
9 | - required: true | ||
10 | - - ref: usersType | ||
11 | - required: true | ||
12 | - - ref: usersCode | ||
13 | - required: true | ||
14 | - - name: organizationId | ||
15 | - description: 组织机构 | ||
16 | - type: | ||
17 | - primitive: int64 | ||
18 | - - name: departmentId | ||
19 | - description: 所属部门 | ||
20 | - type: | ||
21 | - primitive: int64 | ||
22 | - - name: usersOrg | ||
23 | - description: 用户关联的组织 | ||
24 | - type: | ||
25 | - array: org | ||
26 | - - name: usersRole | ||
27 | - description: 用户关联的角色 | ||
28 | - type: | ||
29 | - array: role | ||
30 | - - name: cooperationInfo | ||
31 | - description: 共创信息 (共创用户有效) | ||
32 | - type: | ||
33 | - schema: cooperationInfo | ||
34 | - - name: enableStatus | ||
35 | - description: 启用状态(启用:1 禁用:2) | ||
36 | - type: | ||
37 | - primitive: int | 8 | + - ref: companyId |
9 | + required: true | ||
10 | + - ref: usersType | ||
11 | + required: true | ||
12 | + - ref: usersCode | ||
13 | + required: true | ||
14 | + - name: organizationId | ||
15 | + description: 组织机构 | ||
16 | + type: | ||
17 | + primitive: int64 | ||
18 | + - name: departmentId | ||
19 | + description: 所属部门 | ||
20 | + type: | ||
21 | + primitive: int64 | ||
22 | + - name: usersOrg | ||
23 | + description: 用户关联的组织 | ||
24 | + type: | ||
25 | + array: org | ||
26 | + - name: usersRole | ||
27 | + description: 用户关联的角色 | ||
28 | + type: | ||
29 | + array: role | ||
30 | + - name: cooperationInfo | ||
31 | + description: 共创信息 (共创用户有效) | ||
32 | + type: | ||
33 | + schema: cooperationInfo | ||
34 | + - name: enableStatus | ||
35 | + description: 启用状态(启用:1 禁用:2) | ||
36 | + type: | ||
37 | + primitive: int | ||
38 | result: | 38 | result: |
39 | - - name: users | ||
40 | - type: | ||
41 | - schema: users | ||
42 | - required: true | ||
39 | + - name: users | ||
40 | + type: | ||
41 | + schema: users | ||
42 | + required: true |
@@ -5,16 +5,16 @@ metadata: | @@ -5,16 +5,16 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 移除我收藏的菜单 | 6 | description: 移除我收藏的菜单 |
7 | payload: | 7 | payload: |
8 | - - ref: code | ||
9 | - required: true | ||
10 | - - ref: usersId | ||
11 | - required: true | 8 | + - ref: code |
9 | + required: true | ||
10 | + - ref: usersId | ||
11 | + required: true | ||
12 | result: | 12 | result: |
13 | - - name: code | ||
14 | - type: | ||
15 | - primitive: int | ||
16 | - required: true | ||
17 | - - name: msg | ||
18 | - type: | ||
19 | - primitive: string | ||
20 | - required: true | 13 | + - name: code |
14 | + type: | ||
15 | + primitive: int | ||
16 | + required: true | ||
17 | + - name: msg | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + required: true |
@@ -5,10 +5,10 @@ metadata: | @@ -5,10 +5,10 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 获取我收藏的菜单 | 6 | description: 获取我收藏的菜单 |
7 | payload: | 7 | payload: |
8 | - - ref: usersId | ||
9 | - required: true | 8 | + - ref: usersId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: users | ||
12 | - type: | ||
13 | - schema: users | ||
14 | - required: true | 11 | + - name: favoriteMenus |
12 | + type: | ||
13 | + array: string | ||
14 | + required: true |
@@ -5,10 +5,10 @@ metadata: | @@ -5,10 +5,10 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 返回 | 6 | description: 返回 |
7 | payload: | 7 | payload: |
8 | - - ref: usersId | ||
9 | - required: true | 8 | + - ref: usersId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: users | ||
12 | - type: | ||
13 | - schema: users | ||
14 | - required: true | 11 | + - name: users |
12 | + type: | ||
13 | + schema: users | ||
14 | + required: true |
@@ -5,15 +5,15 @@ metadata: | @@ -5,15 +5,15 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 返回用户有权限的菜单 | 6 | description: 返回用户有权限的菜单 |
7 | payload: | 7 | payload: |
8 | - - ref: userId | ||
9 | - required: true | ||
10 | - - name: menuCategory | ||
11 | - description: 菜单类别 web app | ||
12 | - required: false | ||
13 | - type: | ||
14 | - primitive: string | 8 | + - ref: usersId |
9 | + required: true | ||
10 | + - name: menuCategory | ||
11 | + description: 菜单类别 web app | ||
12 | + required: false | ||
13 | + type: | ||
14 | + primitive: string | ||
15 | result: | 15 | result: |
16 | - - name: menus | ||
17 | - type: | ||
18 | - array: menu | ||
19 | - required: true | 16 | + - name: menus |
17 | + type: | ||
18 | + array: menu | ||
19 | + required: true |
@@ -5,14 +5,16 @@ metadata: | @@ -5,14 +5,16 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 获取用户基础信息数据 | 6 | description: 获取用户基础信息数据 |
7 | payload: | 7 | payload: |
8 | - - ref: usersId | ||
9 | - required: false | ||
10 | - - ref: phone | ||
11 | - required: false | ||
12 | - - ref: usersBaseId | ||
13 | - required: false | 8 | + - ref: usersId |
9 | + required: false | ||
10 | + - ref: phone | ||
11 | + required: false | ||
12 | + - ref: usersBaseId | ||
13 | + required: false | ||
14 | + - ref: usersCode | ||
15 | + required: false | ||
14 | result: | 16 | result: |
15 | - - name: users | ||
16 | - type: | ||
17 | - schema: users | ||
18 | - required: true | 17 | + - name: users |
18 | + type: | ||
19 | + schema: users | ||
20 | + required: true |
@@ -5,20 +5,22 @@ metadata: | @@ -5,20 +5,22 @@ metadata: | ||
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: usersName | ||
13 | - required: false | ||
14 | - - ref: usersName | ||
15 | - required: false | ||
16 | - - ref: depName | ||
17 | - required: false | 8 | + - ref: offset |
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - ref: companyId | ||
13 | + required: false | ||
14 | + - ref: orgId | ||
15 | + required: false | ||
16 | + - ref: usersName | ||
17 | + required: false | ||
18 | + - ref: depName | ||
19 | + required: false | ||
18 | result: | 20 | result: |
19 | - - ref: count | ||
20 | - required: true | ||
21 | - - name: users | ||
22 | - type: | ||
23 | - array: users | ||
24 | - required: true | 21 | + - ref: count |
22 | + required: true | ||
23 | + - name: users | ||
24 | + type: | ||
25 | + array: users | ||
26 | + required: true |
@@ -5,10 +5,10 @@ metadata: | @@ -5,10 +5,10 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 移除 | 6 | description: 移除 |
7 | payload: | 7 | payload: |
8 | - - ref: usersId | ||
9 | - required: true | 8 | + - ref: usersId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: users | ||
12 | - type: | ||
13 | - schema: users | ||
14 | - required: true | 11 | + - name: users |
12 | + type: | ||
13 | + schema: users | ||
14 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新我喜欢菜单列表 | 6 | description: 更新我喜欢菜单列表 |
7 | payload: | 7 | payload: |
8 | - - name: favoriteMenus | ||
9 | - description: 菜单编码列表 | ||
10 | - type: | ||
11 | - array: string | ||
12 | - - ref: usersId | ||
13 | - required: true | 8 | + - name: favoriteMenus |
9 | + description: 菜单编码列表 | ||
10 | + type: | ||
11 | + array: string | ||
12 | + - ref: usersId | ||
13 | + required: true | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
@@ -5,36 +5,34 @@ metadata: | @@ -5,36 +5,34 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新 | 6 | description: 更新 |
7 | payload: | 7 | payload: |
8 | - - ref: usersId | ||
9 | - required: true | ||
10 | - - ref: usersCode | ||
11 | - required: true | ||
12 | - - name: organizationId | ||
13 | - description: 组织机构 | ||
14 | - type: | ||
15 | - primitive: int64 | ||
16 | - - name: departmentId | ||
17 | - description: 所属部门 | ||
18 | - type: | ||
19 | - primitive: int64 | ||
20 | - - name: usersOrg | ||
21 | - description: 用户关联的组织 | ||
22 | - type: | ||
23 | - array: org | ||
24 | - - name: usersRole | ||
25 | - description: 用户关联的角色 | ||
26 | - type: | ||
27 | - array: role | ||
28 | - - name: cooperationInfo | ||
29 | - description: 共创信息 (共创用户有效) | ||
30 | - type: | ||
31 | - schema: cooperationInfo | ||
32 | - - name: enableStatus | ||
33 | - description: 启用状态(启用:1 禁用:2) | ||
34 | - type: | ||
35 | - primitive: int | 8 | + - ref: usersId |
9 | + required: true | ||
10 | + - name: organizationId | ||
11 | + description: 组织机构 | ||
12 | + type: | ||
13 | + primitive: int64 | ||
14 | + - name: departmentId | ||
15 | + description: 所属部门 | ||
16 | + type: | ||
17 | + primitive: int64 | ||
18 | + - name: usersOrg | ||
19 | + description: 用户关联的组织 | ||
20 | + type: | ||
21 | + array: org | ||
22 | + - name: usersRole | ||
23 | + description: 用户关联的角色 | ||
24 | + type: | ||
25 | + array: role | ||
26 | + - name: cooperationInfo | ||
27 | + description: 共创信息 (共创用户有效) | ||
28 | + type: | ||
29 | + schema: cooperationInfo | ||
30 | + - name: enableStatus | ||
31 | + description: 启用状态(启用:1 禁用:2) | ||
32 | + type: | ||
33 | + primitive: int | ||
36 | result: | 34 | result: |
37 | - - name: users | ||
38 | - type: | ||
39 | - schema: users | ||
40 | - required: true | 35 | + - name: users |
36 | + type: | ||
37 | + schema: users | ||
38 | + required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: updatePhoneAuth | 4 | + name: updateUsersPhoneAuth |
5 | type: command | 5 | type: command |
6 | description: 手机认证,更新手机号、密码 | 6 | description: 手机认证,更新手机号、密码 |
7 | payload: | 7 | payload: |
8 | - - ref: usersId | ||
9 | - required: true | ||
10 | - - ref: phone | ||
11 | - required: false | ||
12 | - - ref: password | ||
13 | - required: false | 8 | + - ref: usersId |
9 | + required: true | ||
10 | + - ref: phone | ||
11 | + required: false | ||
12 | + - ref: password | ||
13 | + required: false | ||
14 | result: | 14 | result: |
15 | - - name: code | ||
16 | - type: | ||
17 | - primitive: int | ||
18 | - required: true | ||
19 | - - name: msg | ||
20 | - type: | ||
21 | - primitive: string | ||
22 | - required: true | 15 | + - name: code |
16 | + type: | ||
17 | + primitive: int | ||
18 | + required: true | ||
19 | + - name: msg | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + required: true |
-
请 注册 或 登录 后发表评论