明树Git Lab

Commit 37886e08 authored by zfp1's avatar zfp1

update

parent 23e96544
Pipeline #106051 passed with stage
in 3 seconds
......@@ -557,12 +557,12 @@ async function startJuece(req, res, next) {
return res.sendError({ code: '60002', msg: '项目已保存,请联系管理员为本公司添加【项目决策】角色人员' });
}
await DB.Message.create({
projectId: project.id,
projectId: req.body.id,
creator: req.user.id,
receivers: approvers.map(o => o.id),
type: 2,
title: `项目【${project.name}】已发起项目决策,请尽快处理!`,
content: `项目【${project.name}】已发起项目决策,请尽快处理!`
title: `项目【${req.body.name}】已发起项目决策,请尽快处理!`,
content: `项目【${req.body.name}】已发起项目决策,请尽快处理!`
});
return res.sendData(ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment