'use strict'; const model = require('../../controllers/safetySpecification/index'); module.exports = function (app, router, opts, AuthCode) { // app.fs.api.logAttr['POST/meta/model'] = { content: '增加模型信息', visible: true }; // router.post('/meta/model', model.addModelManagement(opts)) app.fs.api.logAttr['POST/data-security/specifications'] = { content: '新增数据安全规范', visible: true }; router.post('/data-security/specifications', model.postSpecifications(opts)) app.fs.api.logAttr['GET/data-security/specifications'] = { content: '查询数据安全规范列表', visible: true }; router.get('/data-security/specifications', model.getSpecifications(opts)); app.fs.api.logAttr['del/data-security/specifications/:fileIds'] = { content: '查询数据安全规范列表', visible: true }; router.del('/data-security/specifications/:fileIds', model.delSpecifications(opts)); };