|
@@ -311,15 +311,7 @@ module.exports = app => {
|
|
|
// 添加推送
|
|
|
const noticeContent = await this.getNoticeContent(pid, audit.tid, stageId, audit.aid)
|
|
|
const auditors = await this.getAuditGroupByListWithOwner(stageId, times)
|
|
|
- const records = [
|
|
|
- {
|
|
|
- pid,
|
|
|
- type: pushType.stage,
|
|
|
- uid: this.ctx.stage.user_id,
|
|
|
- status: auditConst.status.checked,
|
|
|
- content: noticeContent
|
|
|
- }
|
|
|
- ]
|
|
|
+ const records = []
|
|
|
auditors.forEach(audit => {
|
|
|
records.push({
|
|
|
pid,
|