|
|
@ -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}`); |
|
|
|