'use strict'; const dataSource = require('../../controllers/metadataAcquisition/dataSource'); module.exports = function (app, router, opts, AuthCode) { app.fs.api.logAttr['POST/meta/acq/dataSource'] = { content: '增加模型信息', visible: true }; router.post('/meta/acq/dataSource', dataSource.addDataSource(opts)) //获取数据源列表 app.fs.api.logAttr['GET/meta/acq/dataSources'] = { content: '获取数据源列表', visible: true }; router.get('/meta/acq/dataSources', dataSource.getDataSource(opts)); };