正在显示
14 个修改的文件
包含
128 行增加
和
13 行删除
@@ -24,9 +24,9 @@ metadata: | @@ -24,9 +24,9 @@ metadata: | ||
24 | get: /{usersId}/access-menus | 24 | get: /{usersId}/access-menus |
25 | params: | 25 | params: |
26 | - name: menuCategory | 26 | - name: menuCategory |
27 | - - method: getUsersBaseInfo | 27 | + - method: getUsersProfile |
28 | route: | 28 | route: |
29 | - get: /base-info | 29 | + get: /profile |
30 | params: | 30 | params: |
31 | - name: usersId | 31 | - name: usersId |
32 | - name: phone | 32 | - name: phone |
@@ -46,4 +46,4 @@ metadata: | @@ -46,4 +46,4 @@ metadata: | ||
46 | put: /{usersId}/phone-auth | 46 | put: /{usersId}/phone-auth |
47 | - method: updateUsersBase | 47 | - method: updateUsersBase |
48 | route: | 48 | route: |
49 | - put: /{usersId}/users-base | 49 | + put: /{usersId}/base-info |
allied-creation-user/api/http/usersBase.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: usersBase | ||
5 | + path: /users-bases | ||
6 | + endpoints: | ||
7 | + - method: createUsersBase | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateUsersBase | ||
11 | + route: | ||
12 | + put: /{usersBaseId} | ||
13 | + - method: getUsersBase | ||
14 | + route: | ||
15 | + get: /{usersBaseId} | ||
16 | + - method: removeUsersBase | ||
17 | + route: | ||
18 | + delete: /{usersBaseId} | ||
19 | + - method: listUsersBase | ||
20 | + route: | ||
21 | + post: /search | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit | ||
25 | + - name: inUsersBaseIds |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: listCompanyCustomizeMenus | 4 | name: listCompanyCustomizeMenus |
5 | type: command | 5 | type: command |
6 | - description: 自定义菜单列表 | 6 | + description: 返回自定义菜单列表 |
7 | payload: | 7 | payload: |
8 | - ref: companyId | 8 | - ref: companyId |
9 | required: true | 9 | required: true |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: updateCompanyCustomizeMenus | 4 | name: updateCompanyCustomizeMenus |
5 | type: command | 5 | type: command |
6 | - description: 菜单维护 | 6 | + description: 更新自定义菜单 |
7 | payload: | 7 | payload: |
8 | - ref: companyId | 8 | - ref: companyId |
9 | required: true | 9 | required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: getUsersBaseInfo | 4 | + name: getUsersProfile |
5 | type: query | 5 | type: query |
6 | - description: 获取用户基础信息数据 | 6 | + description: 获取用户概要数据 |
7 | payload: | 7 | payload: |
8 | - ref: usersId | 8 | - ref: usersId |
9 | required: false | 9 | required: false |
10 | - ref: phone | 10 | - ref: phone |
11 | - required: false | ||
12 | - - ref: usersBaseId | ||
13 | - required: false | 11 | + required: false |
12 | + - ref: companyId | ||
13 | + required: false | ||
14 | - ref: usersCode | 14 | - ref: usersCode |
15 | required: false | 15 | required: false |
16 | result: | 16 | result: |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: updateUsersBase | 4 | name: updateUsersBase |
5 | type: command | 5 | type: command |
6 | - description: 更新用户基础数据 | 6 | + description: 更新用户基础信息数据 |
7 | payload: | 7 | payload: |
8 | - ref: usersId | 8 | - ref: usersId |
9 | required: true | 9 | required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createUsersBase | ||
5 | + type: command | ||
6 | + description: 创建 | ||
7 | + payload: | ||
8 | + - name: name | ||
9 | + description: 用户信息 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: phoneAuth | ||
13 | + description: 手机认证 | ||
14 | + type: | ||
15 | + schemal: phoneAuth | ||
16 | + result: | ||
17 | + - name: usersBase | ||
18 | + type: | ||
19 | + schema: usersBase | ||
20 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listUsersBase | ||
5 | + type: query | ||
6 | + description: 返回列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - name: inUsersBaseIds | ||
13 | + description: 匹配用户基础数据 | ||
14 | + type: | ||
15 | + array: int64 | ||
16 | + required: true | ||
17 | + result: | ||
18 | + - ref: count | ||
19 | + required: true | ||
20 | + - name: usersBases | ||
21 | + type: | ||
22 | + array: usersBase | ||
23 | + required: true |
-
请 注册 或 登录 后发表评论