政务数据资源中心(Government data Resource center) 03专项3期主要建设内容
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.8 KiB

'use strict';
const model = require('../../controllers/dataQuality/index');
module.exports = function (app, router, opts, AuthCode) {
app.fs.api.logAttr['POST/standard-doc-folders'] = { content: '标准文档目录新增', visible: true };
router.post('/standard-doc-folders', model.postStandardDocFolders(opts))
app.fs.api.logAttr['GET/standard-doc-folders'] = { content: '标准文档目录列表', visible: true };
router.get('/standard-doc-folders', model.getStandardDocFolders(opts));
app.fs.api.logAttr['POST/standard-docs'] = { content: '新增标准文档', visible: true };
router.post('/standard-docs', model.postStandardDocs(opts))
app.fs.api.logAttr['GET/standard-docs'] = { content: '标准文档列表', visible: true };
router.get('/standard-docs', model.getStandardDocs(opts));
app.fs.api.logAttr['POST/postFolderFile'] = { content: '删除文件夹或文件', visible: true };
router.post('/postFolderFile', model.postFolderFile(opts))
2 years ago
app.fs.api.logAttr['POST/business-rules'] = { content: '新增/修改业务规则', visible: true };
router.post('/business-rules', model.postBusinessRules(opts))
app.fs.api.logAttr['GET/business-rules'] = { content: '查询业务规则列表', visible: true };
router.get('/business-rules', model.getBusinessRules(opts));
app.fs.api.logAttr['DEL/business-rules/:id'] = { content: '删除业务规则', visible: true };
router.del('/business-rules/:id', model.delBusinessRules(opts))
app.fs.api.logAttr['GET/regular-basis'] = { content: '查询规则依据列表', visible: true };
router.get('/regular-basis', model.getRegularBasis(opts));
2 years ago
app.fs.api.logAttr['POST/fetchFiles'] = { content: '获取文件夹下文件', visible: true };
router.post('/fetchFiles', model.fetchFiles(opts));
};