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.
15 lines
734 B
15 lines
734 B
'use strict';
|
|
|
|
const departmentTrain = require('../../controllers/departmentTrain');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
|
|
app.fs.api.logAttr['GET/department/train/record/list'] = { content: '查询部门培训记录列表', visible: true };
|
|
router.get('/department/train/record/list', departmentTrain.get);
|
|
|
|
app.fs.api.logAttr['POST/department/train/record/bulk'] = { content: '导入部门培训记录信息', visible: true };
|
|
router.post('/department/train/record/bulk', departmentTrain.importData);
|
|
|
|
app.fs.api.logAttr['PUT/department/train/record/modify'] = { content: '编辑部门培训记录信息', visible: true };
|
|
router.put('/department/train/record/modify', departmentTrain.modify);
|
|
};
|