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.
12 lines
673 B
12 lines
673 B
'use strict';
|
|
/**培训资料库 */
|
|
const resourceRepository = require('../../controllers/resourceRepository');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
|
|
app.fs.api.logAttr['GET/train/trainFiles/resourceRepository/classify'] = { content: '查询培训资源储备库分类目录', visible: false };
|
|
router.get('/train/trainFiles/resourceRepository/classify', resourceRepository.getResourceClassify);
|
|
|
|
app.fs.api.logAttr['GET/train/trainFiles/resourceRepository/fileList'] = { content: '查询培训资源储备库文件列表', visible: false };
|
|
router.get('/train/trainFiles/resourceRepository/fileList', resourceRepository.getResourceFileList);
|
|
};
|