'use strict'; const adapter = require('../../controllers/metadataAcquisition/adapter'); module.exports = function (app, router, opts, AuthCode) { app.fs.api.logAttr['POST/adapter/check/connect'] = { content: '测试适配器连接', visible: true }; router.post('/adapter/check/connect', adapter.checkConnect(opts)) app.fs.api.logAttr['POST/adapter'] = { content: '增加适配器', visible: true }; router.post('/meta/acq/adapter', adapter.addAdapter(opts)) };