From a974b8deda1b7d1286be05f9c7a99ab7e8747bcf Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Tue, 20 Sep 2022 11:04:39 +0800 Subject: [PATCH] =?UTF-8?q?clickhouse=20=E5=AF=86=E7=A0=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/project/bind.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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