作者 tangxuhui

更新 个人消息

正在显示 23 个修改的文件 包含 259 行增加30 行删除
... ... @@ -9,10 +9,10 @@ metadata:
post: /
- method: updateDictionary
route:
put: /{Id}
put: /{dictionaryId}
- method: getDictionary
route:
get: /{Id}
get: /{dictionaryId}
- method: listDictionary
route:
get: /
... ...
version: v1
kind: HttpApi
metadata:
service: noticePersonal
path: /notice-personal
endpoints:
- method: getNoticePersonalList
route:
post: /
- method: agreeJoinCreationProject
route:
post: /agree-join-creation-project
- method: informExpectedDividends
route:
post: /inform-expected-dividends
- method: refuseJoinCreationProject
route:
post: /refuse-join-creation-project
- method: informJoinCreationContract
route:
post: /inform-join-creation-contract
- method: creditAccountEstimate
route:
post: /credit-account/dividends-estimate
- method: creditAccountPayment
route:
post: /notice-personal/credit-account/payment
... ...
version: v1
kind: Attribute
metadata:
- name: noticePersonalId
name: noticePersonalId
description: 编号id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: orgId
description: 组织id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: userBaseId
description: 账户id
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: orgId
description: 组织id
type:
primitive: int64
... ...
... ... @@ -20,12 +20,10 @@ metadata:
description: 备注信息
type:
primitive: string
- name: canDelete
description: 是否可以删除【1:不可以】【2:可以】
- name: isShow
description: 是否可见【1:不可以】【2:可以】
type:
primitive: int
- name: canEdit
description: 是否可以编辑【1:不可以】【2:可以】
- name: dictItems
description: 字典值列表
type:
... ...
... ... @@ -24,9 +24,11 @@ metadata:
required: true
- ref: noticePersonalId
required: true
- ref: organizationId
- ref: orgId
required: true
- ref: sysCode
required: true
- ref: userId
required: true
- ref: userBaseId
required: true
... ...
version: v1
kind: Schema
metadata:
name: noticSetting
name: noticeSetting
description: 编排消息通知内容
attributes:
- ref: companyId
... ... @@ -16,7 +16,7 @@ metadata:
required: true
- ref: noticeSettingId
required: true
- ref: organizationId
- ref: orgId
required: true
- ref: sysCode
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
... ...
... ... @@ -5,8 +5,10 @@ metadata:
type: query
description: 返回数据字典设置
payload:
- ref: dictCode
required: true
- name: dictCode
description: 字典编码
type:
primitive: string
result:
- name: dictionary
type:
... ...
... ... @@ -5,8 +5,10 @@ metadata:
type: command
description: 移除数据字典设置
payload:
- ref: dictionaryId
required: true
- name: dictionaryId
description: 字典编号 主键
type:
primitive: int
result:
- name: dictionary
type:
... ...
... ... @@ -3,12 +3,24 @@ kind: Method
metadata:
name: agreeJoinCreationProject
type: command
description: 消息:共创申请审核通过
description: 设置消息:共创申请审核通过
payload:
- name: userId
description: 接收方用户id
type:
primitive: int64
- name: userBaseId
description: 接收方用户id
type:
primitive: int64
- name: orgId
description: 接收方用户组织id
type:
primitive: int64
- name: companyId
description: 接收方用户企业id
type:
primitive: int64
- name: creationProjectId
description: 共创项目id
type:
... ... @@ -22,5 +34,7 @@ metadata:
type:
primitive: string
result:
- ref: noticePersonalId
required: true
- name: noticePersonal
description: 个人消息
type:
schema: noticePersonal
... ...
version: v1
kind: Method
metadata:
name: creditAccountEstimate
type: command
description: 设置消息:共创申请审核通过
payload:
- name: userId
description: 接收方用户id
type:
primitive: int64
- name: userBaseId
description: 接收方用户id
type:
primitive: int64
- name: orgId
description: 接收方用户组织id
type:
primitive: int64
- name: companyId
description: 接收方用户企业id
type:
primitive: int64
- name: creditAccountOrderNum
description: 结算单号
type:
primitive: string
- name: settlementAmount
description: 结算金额
type:
primitive: string
- name: creditAccountId
description: 结算单id
type:
primitive: int64
- name: dividendsEstimateId
description: 预算单id
type:
primitive: int64
- name: dividendsEstimateOrderNumber
description: 预算单号
type:
primitive: string
result:
- name: noticePersonal
description: 个人消息
type:
schema: noticePersonal
... ...
version: v1
kind: Method
metadata:
name: creditAccountPayment
type: command
description: 设置消息:共创申请审核通过
payload:
- name: userId
description: 接收方用户id
type:
primitive: int64
- name: userBaseId
description: 接收方用户id
type:
primitive: int64
- name: orgId
description: 接收方用户组织id
type:
primitive: int64
- name: companyId
description: 接收方用户企业id
type:
primitive: int64
- name: creditAccountOrderNum
description: 结算单号
type:
primitive: string
- name: settlementAmount
description: 结算金额
type:
primitive: string
- name: creditAccountId
description: 结算单id
type:
primitive: int64
- name: actuallyPaidAmount
description: 实际结算金额
type:
primitive: string
result:
- name: noticePersonal
description: 个人消息
type:
schema: noticePersonal
... ...
... ... @@ -20,7 +20,7 @@ metadata:
- name: isRead
description: 是否是已读
type:
primitive: int
primitive: int64
result:
- name: noticePersonal
type:
... ...
... ... @@ -3,10 +3,22 @@ kind: Method
metadata:
name: informExpectedDividends
type: command
description: 消息:分红预算消息
description: 设置消息:分红预算消息
payload:
- name: userId
description: 用户id
description: 接收方用户id
type:
primitive: int64
- name: userBaseId
description: 接收方用户id
type:
primitive: int64
- name: orgId
description: 接收方用户组织id
type:
primitive: int64
- name: companyId
description: 接收方用户企业id
type:
primitive: int64
- name: creationProjectId
... ... @@ -34,5 +46,7 @@ metadata:
type:
primitive: string
result:
- ref: noticePersonalId
required: true
- name: noticePersonal
description: 个人消息
type:
schema: noticePersonal
... ...
... ... @@ -3,12 +3,24 @@ kind: Method
metadata:
name: informJoinCreationContract
type: command
description: 消息:共创确认
description: 设置消息:共创确认
payload:
- name: userId
description: 接收方用户id
type:
primitive: int64
- name: userBaseId
description: 接收方用户id
type:
primitive: int64
- name: orgId
description: 接收方用户组织id
type:
primitive: int64
- name: companyId
description: 接收方用户企业id
type:
primitive: int64
- name: creationProjectId
description: 共创项目id
type:
... ... @@ -30,5 +42,7 @@ metadata:
type:
primitive: string
result:
- ref: noticePersonalId
required: true
- name: noticePersonal
description: 个人消息
type:
schema: noticePersonal
... ...
... ... @@ -3,12 +3,24 @@ kind: Method
metadata:
name: refuseJoinCreationProject
type: command
description: 消息:共创申请审核拒绝
description: 设置消息:共创申请审核拒绝
payload:
- name: userId
description: 接收方用户id
type:
primitive: int64
- name: userBaseId
description: 接收方用户id
type:
primitive: int64
- name: orgId
description: 接收方用户组织id
type:
primitive: int64
- name: companyId
description: 接收方用户企业id
type:
primitive: int64
- name: creationProjectId
description: 共创项目id
type:
... ... @@ -22,5 +34,7 @@ metadata:
type:
primitive: string
result:
- ref: noticePersonalId
required: true
- name: noticePersonal
description: 个人消息
type:
schema: noticePersonal
... ...
... ... @@ -5,9 +5,9 @@ metadata:
type: command
description: 更新编排消息通知内容
payload:
- name: dictionary
- name: noticeSetting
type:
schema: dictionary
schema: noticeSetting
required: true
result:
- name: noticeSetting
... ...