正在显示
7 个修改的文件
包含
36 行增加
和
37 行删除
@@ -18,10 +18,7 @@ metadata: | @@ -18,10 +18,7 @@ metadata: | ||
18 | delete: /{companyId} | 18 | delete: /{companyId} |
19 | - method: listCompany | 19 | - method: listCompany |
20 | route: | 20 | route: |
21 | - get: / | ||
22 | - params: | ||
23 | - - name: offset | ||
24 | - - name: limit | 21 | + post: /search |
25 | - method: listCompanyCustomizeMenus | 22 | - method: listCompanyCustomizeMenus |
26 | route: | 23 | route: |
27 | get: /{companyId}/customize-menus/ | 24 | get: /{companyId}/customize-menus/ |
@@ -18,15 +18,7 @@ metadata: | @@ -18,15 +18,7 @@ metadata: | ||
18 | delete: /{orgId} | 18 | delete: /{orgId} |
19 | - method: listOrg | 19 | - method: listOrg |
20 | route: | 20 | route: |
21 | - get: / | ||
22 | - params: | ||
23 | - - name: offset | ||
24 | - - name: limit | ||
25 | - - name: companyId | ||
26 | - - name: orgCode | ||
27 | - - name: depName | ||
28 | - - name: parentId | ||
29 | - - name: isOrg | 21 | + post: /search |
30 | - method: getOrgSubDepartment | 22 | - method: getOrgSubDepartment |
31 | route: | 23 | route: |
32 | get: /{orgId}/sub-department | 24 | get: /{orgId}/sub-department |
@@ -18,14 +18,7 @@ metadata: | @@ -18,14 +18,7 @@ metadata: | ||
18 | delete: /{roleId} | 18 | delete: /{roleId} |
19 | - method: listRole | 19 | - method: listRole |
20 | route: | 20 | route: |
21 | - get: / | ||
22 | - params: | ||
23 | - - name: offset | ||
24 | - - name: limit | ||
25 | - - name: roleName | ||
26 | - - name: orgName | ||
27 | - - name: orgId | ||
28 | - - name: inOrgIds | 21 | + post: /search |
29 | - method: getRoleRelatedUsers | 22 | - method: getRoleRelatedUsers |
30 | route: | 23 | route: |
31 | get: /{roleId}/related-users | 24 | get: /{roleId}/related-users |
@@ -18,19 +18,11 @@ metadata: | @@ -18,19 +18,11 @@ metadata: | ||
18 | delete: /{usersId} | 18 | delete: /{usersId} |
19 | - method: listUsers | 19 | - method: listUsers |
20 | route: | 20 | route: |
21 | - get: / | ||
22 | - params: | ||
23 | - - name: offset | ||
24 | - - name: limit | ||
25 | - - name: companyId | ||
26 | - - name: orgId | ||
27 | - - name: usersName | ||
28 | - - name: depName | 21 | + get: /search |
29 | - method: getUsersAccessMenus | 22 | - method: getUsersAccessMenus |
30 | route: | 23 | route: |
31 | - get: /access-menus | 24 | + get: /{usersId}/access-menus |
32 | params: | 25 | params: |
33 | - - name: usersId | ||
34 | - name: menuCategory | 26 | - name: menuCategory |
35 | - method: getUsersBaseInfo | 27 | - method: getUsersBaseInfo |
36 | route: | 28 | route: |
@@ -39,6 +31,7 @@ metadata: | @@ -39,6 +31,7 @@ metadata: | ||
39 | - name: usersId | 31 | - name: usersId |
40 | - name: phone | 32 | - name: phone |
41 | - name: usersBaseId | 33 | - name: usersBaseId |
34 | + - name: usersCode | ||
42 | - method: batchAdd | 35 | - method: batchAdd |
43 | route: | 36 | route: |
44 | post: /batch-add | 37 | post: /batch-add |
@@ -51,3 +44,6 @@ metadata: | @@ -51,3 +44,6 @@ metadata: | ||
51 | - method: updateUsersPhoneAuth | 44 | - method: updateUsersPhoneAuth |
52 | route: | 45 | route: |
53 | put: /{usersId}/phone-auth | 46 | put: /{usersId}/phone-auth |
47 | + - method: updateUsersBase | ||
48 | + route: | ||
49 | + put: /{usersId}/users-base |
@@ -16,10 +16,10 @@ metadata: | @@ -16,10 +16,10 @@ metadata: | ||
16 | - ref: orgId | 16 | - ref: orgId |
17 | required: false | 17 | required: false |
18 | - name: inOrgIds | 18 | - name: inOrgIds |
19 | - description: 匹配多个组织 1,2,3 逗号分割 inOrgIds | 19 | + description: 匹配多个组织 |
20 | required: false | 20 | required: false |
21 | type: | 21 | type: |
22 | - primitive: string | 22 | + array: int64 |
23 | result: | 23 | result: |
24 | - ref: count | 24 | - ref: count |
25 | required: true | 25 | required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateUsersBase | ||
5 | + type: command | ||
6 | + description: 更新用户基础数据 | ||
7 | + payload: | ||
8 | + - ref: usersId | ||
9 | + required: true | ||
10 | + - ref: usersCode | ||
11 | + required: true | ||
12 | + - ref: usersName | ||
13 | + required: true | ||
14 | + - ref: avator | ||
15 | + required: true | ||
16 | + result: | ||
17 | + - ref: code | ||
18 | + required: true | ||
19 | + - ref: msg | ||
20 | + required: true | ||
21 | + - name: users | ||
22 | + type: | ||
23 | + schema: users | ||
24 | + required: true |
-
请 注册 或 登录 后发表评论