diff --git a/api/app/lib/controllers/project/bind.js b/api/app/lib/controllers/project/bind.js index 3a86e08..7359a00 100644 --- a/api/app/lib/controllers/project/bind.js +++ b/api/app/lib/controllers/project/bind.js @@ -34,10 +34,13 @@ async function bindAnxin2pep (ctx) { let lockAppData = [] if (bindId_) { + // 修改 if (!existRes) { throw '尚无已绑定的项企项目' } - // 修改 + if (name) { + + } await models.ProjectCorrelation.update(storageData, { where: { pepProjectId: pepProjectId