作者 tangxuhui

更新

正在显示 35 个修改的文件 包含 347 行增加7 行删除
... ... @@ -13,9 +13,6 @@ metadata:
- method: getDictionary
route:
get: /{Id}
- method: removeDictionary
route:
delete: /{Id}
- method: listDictionary
route:
get: /
... ...
version: v1
kind: HttpApi
metadata:
service: noticeSetting
path: /notice-setting
endpoints:
- method: updateNoticeSetting
route:
put: /{Id}
- method: getNoticeSetting
route:
get: /{Id}
- method: listNoticeSetting
route:
get: /
... ...
version: v1
kind: Attribute
metadata:
name: companyId
description: 公司id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: content
description: 内容模板
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: isPush
description: 是否推送 【是:1】【否:2】
type:
primitive: int
... ...
version: v1
kind: Attribute
metadata:
name: module
description: 消息对应的业务模块
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: moduleAction
description: 业务环节
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: noticeSettingId
description: 消息id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: organizationId
description: 组织id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: sysCode
description: 消息对应的编码
type:
primitive: string
... ...
... ... @@ -2,7 +2,7 @@ version: v1
kind: HttpApi
metadata:
service: loginAccess
path: /v1/web/auth
path: /auth
endpoints:
- method: loginByAccount
route:
... ... @@ -16,6 +16,6 @@ metadata:
- method: getQrcodeForLogin
route:
get: /get-qrcode
- method: loginInfoByAuthCode
- method: AuthCodeToAccessToken
route:
get: /profile
get: /access-token
... ...
version: v1
kind: HttpApi
metadata:
service: menu
path: /menus
endpoints:
- method: menuList
route:
get: /
- method: menuUpdate
route:
put: /{Id}
... ...
version: v1
kind: HttpApi
metadata:
service: noticeSetting
path: /notice-setting
endpoints:
- method: noticeSettingList
route:
get: /
- method: noticeSettingProfile
route:
get: /profile
- method: noticeSettingUpdate
route:
put: /
... ...
version: v1
kind: HttpApi
metadata:
service: orgs
path: /orgs
endpoints:
- method: orgAdd
route:
post: /
- method: orgUpdate
route:
put: /{Id}
- method: orgList
route:
post: /search
- method: orgGet
route:
get: /{Id}
- method: orgRemove
route:
delete: /{Id}
... ...
version: v1
kind: Attribute
metadata:
name: menuAlias
description: 菜单别名
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: companyId
description: 公司id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: content
description: 内容模板
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: isPush
description: 是否推送 【是:1】【否:2】
type:
primitive: int
... ...
version: v1
kind: Attribute
metadata:
name: module
description: 消息对应的业务模块
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: moduleAction
description: 业务环节
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: noticeSettingId
description: 消息id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: organizationId
description: 组织id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: sysCode
description: 消息对应的编码
type:
primitive: string
... ...
version: v1
kind: Schema
metadata:
name: noticeSetting
description: 编排消息通知内容
attributes:
- ref: companyId
required: true
- ref: content
required: true
- ref: isPush
required: true
- ref: module
required: true
- ref: moduleAction
required: true
- ref: noticeSettingId
required: true
- ref: organizationId
required: true
- ref: sysCode
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
version: v1
kind: Schema
metadata:
name: noticeSettingModule
description: 编排消息模块列表
attributes:
- ref: module
required: true
- name: moduleAction
description: 模块环节
type:
array: string
... ...
version: v1
kind: Schema
metadata:
name: noticeSettingParam
description: 编排消息需要的变量
attributes:
- name: paramCode
description: 变量的代码标识
type:
primitive: string
- name: paramName
description: 变量名称描述
- ref: moduleAction
required: true
- ref: module
required: true
... ...
version: v1
kind: Schema
metadata:
name: noticeSettingProfile
description: 编排消息需要的候选参数
attributes:
- name: paramList
description: 可选变量列表
type:
array: noticeSettingParam
- name: moduleList
description: 业务模块列表
type:
schema: noticeSettingModule
... ...
version: v1
kind: Method
metadata:
name: loginInfoByAuthCode
name: AuthCodeToAccessToken
type: query
description: 获取具体的进入系统的凭证
payload:
... ...
version: v1
kind: Method
metadata:
name: menuList
type: query
description: 返回菜单列表
result:
- name: menus
type:
array: menu
required: true
... ...
version: v1
kind: Method
metadata:
name: menuUpdate
type: query
description: 更新菜单
payload:
- ref: companyId
required: true
- ref: menuId
required: true
- ref: menuName
required: true
- ref: sort
required: true
result:
- name: menus
type:
schema: menu
required: true
... ...
version: v1
kind: Service
metadata:
name: menu
description: 用户菜单维护
... ...
version: v1
kind: Method
metadata:
name: noticeSettingList
type: command
description: 推送消息配置列表
payload:
- ref: limit
required: true
- ref: offset
required: true
result:
- name: count
type:
primitive: int
- name: noticeSetting
type:
schema: noticeSetting
required: true
... ...
version: v1
kind: Method
metadata:
name: noticeSettingProfile
type: query
description: 推送消息配置需求的参数候选项
result:
- name: profile
type:
schema: noticeSettingProfile
required: true
... ...
version: v1
kind: Method
metadata:
name: noticeSettingUpdate
type: query
description: 推送消息配置需求的参数候选项
payload:
- ref: module
required: true
- ref: moduleAction
required: true
- ref: isPush
required: true
- ref: content
required: true
result:
- name: profile
type:
schema: noticeSettingProfile
required: true
... ...
version: v1
kind: Service
metadata:
name: noticeSetting
description: 推送消息配置
... ...