人力资源
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.

19 lines
620 B

'use strict';
const role = require('../../controllers/role');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/role/list'] = { content: '查询角色列表', visible: true };
router.get('/role/list', role.get);
app.fs.api.logAttr['POST/role/add'] = { content: '添加角色', visible: true };
router.post('/role/add', role.add);
app.fs.api.logAttr['PUT/role/edit'] = { content: '编辑角色', visible: true };
router.put('/role/edit', role.edit);
app.fs.api.logAttr['DEL/role/del'] = { content: '删除角色', visible: true };
router.del('/role/del', role.del);
};