From 75bbca9a6114cc8550ebc294f02ccb5cd1b3303d Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Fri, 16 Sep 2022 14:54:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=BF=83=E4=BA=91=E3=80=81=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=AE=A1=E7=90=86=E9=A1=B9=E7=9B=AE=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/project/bind.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/api/app/lib/controllers/project/bind.js b/api/app/lib/controllers/project/bind.js index ba46239..58b1c8f 100644 --- a/api/app/lib/controllers/project/bind.js +++ b/api/app/lib/controllers/project/bind.js @@ -4,15 +4,12 @@ async function bindAnxin2pep (ctx) { try { const models = ctx.fs.dc.models; const { clickHouse } = ctx.app.fs - const { bindId, name, pepProjectId, anxinProjectId = [], } = ctx.request.body + const { bindId, name, pepProjectId, anxinProjectId = [], app = [] } = ctx.request.body - - - if(bindId){ + if (bindId) { } - ctx.status = 20; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`);