diff --git a/api/app/lib/controllers/project/bind.js b/api/app/lib/controllers/project/bind.js index 06d25c2..3cfa989 100644 --- a/api/app/lib/controllers/project/bind.js +++ b/api/app/lib/controllers/project/bind.js @@ -105,6 +105,9 @@ async function bindAnxin2pep (ctx) { // 但是有之前的数据 if (existRes.del) { // 不过之前的删除了 + storageData.createUser = userId + storageData.updateTime = now.format() + storageData.createTime = now.format() await models.ProjectCorrelation.update(storageData, { where: { pepProjectId: pepProjectId