Browse Source

安心云、项目管理项目获取

dev
巴林闲侠 3 years ago
parent
commit
75bbca9a61
  1. 7
      api/app/lib/controllers/project/bind.js

7
api/app/lib/controllers/project/bind.js

@ -4,15 +4,12 @@ async function bindAnxin2pep (ctx) {
try { try {
const models = ctx.fs.dc.models; const models = ctx.fs.dc.models;
const { clickHouse } = ctx.app.fs 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; ctx.status = 20;
} catch (error) { } catch (error) {
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`);

Loading…
Cancel
Save