作者 tangxuhui

更新

正在显示 35 个修改的文件 包含 347 行增加7 行删除
@@ -13,9 +13,6 @@ metadata: @@ -13,9 +13,6 @@ metadata:
13 - method: getDictionary 13 - method: getDictionary
14 route: 14 route:
15 get: /{Id} 15 get: /{Id}
16 - - method: removeDictionary  
17 - route:  
18 - delete: /{Id}  
19 - method: listDictionary 16 - method: listDictionary
20 route: 17 route:
21 get: / 18 get: /
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: noticeSetting
  5 + path: /notice-setting
  6 + endpoints:
  7 + - method: updateNoticeSetting
  8 + route:
  9 + put: /{Id}
  10 + - method: getNoticeSetting
  11 + route:
  12 + get: /{Id}
  13 + - method: listNoticeSetting
  14 + route:
  15 + get: /
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 公司id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: content
  5 + description: 内容模板
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: isPush
  5 + description: 是否推送 【是:1】【否:2】
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: module
  5 + description: 消息对应的业务模块
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: moduleAction
  5 + description: 业务环节
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: noticeSettingId
  5 + description: 消息id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizationId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: sysCode
  5 + description: 消息对应的编码
  6 + type:
  7 + primitive: string
@@ -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
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: menu
  5 + path: /menus
  6 + endpoints:
  7 + - method: menuList
  8 + route:
  9 + get: /
  10 + - method: menuUpdate
  11 + route:
  12 + put: /{Id}
  1 +version: v1
  2 +kind: HttpApi
  3 +metadata:
  4 + service: noticeSetting
  5 + path: /notice-setting
  6 + endpoints:
  7 + - method: noticeSettingList
  8 + route:
  9 + get: /
  10 + - method: noticeSettingProfile
  11 + route:
  12 + get: /profile
  13 + - method: noticeSettingUpdate
  14 + route:
  15 + put: /
  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: Attribute
  3 +metadata:
  4 + name: menuAlias
  5 + description: 菜单别名
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: companyId
  5 + description: 公司id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: content
  5 + description: 内容模板
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: isPush
  5 + description: 是否推送 【是:1】【否:2】
  6 + type:
  7 + primitive: int
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: module
  5 + description: 消息对应的业务模块
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: moduleAction
  5 + description: 业务环节
  6 + type:
  7 + primitive: string
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: noticeSettingId
  5 + description: 消息id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: organizationId
  5 + description: 组织id
  6 + type:
  7 + primitive: int64
  1 +version: v1
  2 +kind: Attribute
  3 +metadata:
  4 + name: sysCode
  5 + description: 消息对应的编码
  6 + type:
  7 + primitive: string
  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: noticeSettingModule
  5 + description: 编排消息模块列表
  6 + attributes:
  7 + - ref: module
  8 + required: true
  9 + - name: moduleAction
  10 + description: 模块环节
  11 + type:
  12 + array: string
  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: Schema
  3 +metadata:
  4 + name: noticeSettingProfile
  5 + description: 编排消息需要的候选参数
  6 + attributes:
  7 + - name: paramList
  8 + description: 可选变量列表
  9 + type:
  10 + array: noticeSettingParam
  11 + - name: moduleList
  12 + description: 业务模块列表
  13 + type:
  14 + schema: noticeSettingModule
1 version: v1 1 version: v1
2 kind: Method 2 kind: Method
3 metadata: 3 metadata:
4 - name: loginInfoByAuthCode 4 + name: AuthCodeToAccessToken
5 type: query 5 type: query
6 description: 获取具体的进入系统的凭证 6 description: 获取具体的进入系统的凭证
7 payload: 7 payload:
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: menuList
  5 + type: query
  6 + description: 返回菜单列表
  7 + result:
  8 + - name: menus
  9 + type:
  10 + array: menu
  11 + 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: Service
  3 +metadata:
  4 + name: menu
  5 + description: 用户菜单维护
  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: noticeSettingProfile
  5 + type: query
  6 + description: 推送消息配置需求的参数候选项
  7 + result:
  8 + - name: profile
  9 + type:
  10 + schema: noticeSettingProfile
  11 + 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
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: noticeSetting
  5 + description: 推送消息配置