正在显示
35 个修改的文件
包含
363 行增加
和
23 行删除
| @@ -3,22 +3,19 @@ kind: HttpApi | @@ -3,22 +3,19 @@ kind: HttpApi | ||
| 3 | metadata: | 3 | metadata: |
| 4 | service: dictionary | 4 | service: dictionary |
| 5 | path: /dictionarys | 5 | path: /dictionarys |
| 6 | - endpoints: | ||
| 7 | - - method: createDictionary | ||
| 8 | - route: | ||
| 9 | - post: / | ||
| 10 | - - method: updateDictionary | ||
| 11 | - route: | ||
| 12 | - put: /{Id} | ||
| 13 | - - method: getDictionary | ||
| 14 | - route: | ||
| 15 | - get: /{Id} | ||
| 16 | - - method: removeDictionary | ||
| 17 | - route: | ||
| 18 | - delete: /{Id} | ||
| 19 | - - method: listDictionary | ||
| 20 | - route: | ||
| 21 | - get: / | ||
| 22 | - params: | ||
| 23 | - - name: offset | ||
| 24 | - - name: limit | 6 | + endpoints: |
| 7 | + - method: createDictionary | ||
| 8 | + route: | ||
| 9 | + post: / | ||
| 10 | + - method: updateDictionary | ||
| 11 | + route: | ||
| 12 | + put: /{Id} | ||
| 13 | + - method: getDictionary | ||
| 14 | + route: | ||
| 15 | + get: /{Id} | ||
| 16 | + - method: listDictionary | ||
| 17 | + route: | ||
| 18 | + get: / | ||
| 19 | + params: | ||
| 20 | + - name: offset | ||
| 21 | + - name: limit |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: loginAccess | 4 | service: loginAccess |
| 5 | - path: /v1/web/auth | 5 | + path: /auth |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: loginByAccount | 7 | - method: loginByAccount |
| 8 | route: | 8 | route: |
| @@ -16,6 +16,6 @@ metadata: | @@ -16,6 +16,6 @@ metadata: | ||
| 16 | - method: getQrcodeForLogin | 16 | - method: getQrcodeForLogin |
| 17 | route: | 17 | route: |
| 18 | get: /get-qrcode | 18 | get: /get-qrcode |
| 19 | - - method: loginInfoByAuthCode | 19 | + - method: AuthCodeToAccessToken |
| 20 | route: | 20 | route: |
| 21 | - get: /profile | 21 | + get: /access-token |
allied-creation-gateway/api/http/menu.yaml
0 → 100644
allied-creation-gateway/api/http/orgs.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: HttpApi | ||
| 3 | +metadata: | ||
| 4 | + service: orgs | ||
| 5 | + path: /orgs | ||
| 6 | + endpoints: | ||
| 7 | + - method: orgAdd | ||
| 8 | + route: | ||
| 9 | + post: / | ||
| 10 | + - method: orgUpdate | ||
| 11 | + route: | ||
| 12 | + put: /{Id} | ||
| 13 | + - method: orgList | ||
| 14 | + route: | ||
| 15 | + post: /search | ||
| 16 | + - method: orgGet | ||
| 17 | + route: | ||
| 18 | + get: /{Id} | ||
| 19 | + - method: orgRemove | ||
| 20 | + route: | ||
| 21 | + delete: /{Id} |
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: noticeSetting | ||
| 5 | + description: 编排消息通知内容 | ||
| 6 | + attributes: | ||
| 7 | + - ref: companyId | ||
| 8 | + required: true | ||
| 9 | + - ref: content | ||
| 10 | + required: true | ||
| 11 | + - ref: isPush | ||
| 12 | + required: true | ||
| 13 | + - ref: module | ||
| 14 | + required: true | ||
| 15 | + - ref: moduleAction | ||
| 16 | + required: true | ||
| 17 | + - ref: noticeSettingId | ||
| 18 | + required: true | ||
| 19 | + - ref: organizationId | ||
| 20 | + required: true | ||
| 21 | + - ref: sysCode | ||
| 22 | + required: true | ||
| 23 | + - ref: createdAt | ||
| 24 | + required: true | ||
| 25 | + - ref: deletedAt | ||
| 26 | + required: true | ||
| 27 | + - ref: updatedAt | ||
| 28 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: noticeSettingParam | ||
| 5 | + description: 编排消息需要的变量 | ||
| 6 | + attributes: | ||
| 7 | + - name: paramCode | ||
| 8 | + description: 变量的代码标识 | ||
| 9 | + type: | ||
| 10 | + primitive: string | ||
| 11 | + - name: paramName | ||
| 12 | + description: 变量名称描述 | ||
| 13 | + - ref: moduleAction | ||
| 14 | + required: true | ||
| 15 | + - ref: module | ||
| 16 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: menuUpdate | ||
| 5 | + type: query | ||
| 6 | + description: 更新菜单 | ||
| 7 | + payload: | ||
| 8 | + - ref: companyId | ||
| 9 | + required: true | ||
| 10 | + - ref: menuId | ||
| 11 | + required: true | ||
| 12 | + - ref: menuName | ||
| 13 | + required: true | ||
| 14 | + - ref: sort | ||
| 15 | + required: true | ||
| 16 | + result: | ||
| 17 | + - name: menus | ||
| 18 | + type: | ||
| 19 | + schema: menu | ||
| 20 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: noticeSettingList | ||
| 5 | + type: command | ||
| 6 | + description: 推送消息配置列表 | ||
| 7 | + payload: | ||
| 8 | + - ref: limit | ||
| 9 | + required: true | ||
| 10 | + - ref: offset | ||
| 11 | + required: true | ||
| 12 | + result: | ||
| 13 | + - name: count | ||
| 14 | + type: | ||
| 15 | + primitive: int | ||
| 16 | + - name: noticeSetting | ||
| 17 | + type: | ||
| 18 | + schema: noticeSetting | ||
| 19 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: noticeSettingUpdate | ||
| 5 | + type: query | ||
| 6 | + description: 推送消息配置需求的参数候选项 | ||
| 7 | + payload: | ||
| 8 | + - ref: module | ||
| 9 | + required: true | ||
| 10 | + - ref: moduleAction | ||
| 11 | + required: true | ||
| 12 | + - ref: isPush | ||
| 13 | + required: true | ||
| 14 | + - ref: content | ||
| 15 | + required: true | ||
| 16 | + result: | ||
| 17 | + - name: profile | ||
| 18 | + type: | ||
| 19 | + schema: noticeSettingProfile | ||
| 20 | + required: true |
-
请 注册 或 登录 后发表评论