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

14 lines
449 B

'use strict';
const roleResource = require('../../controllers/roleResource');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/roleResourcer/list'] = { content: '角色权限列表', visible: true };
router.get('/roleResource/list', roleResource.get);
app.fs.api.logAttr['POST/roleResource/add'] = { content: '角色添加权限成功', visible: true };
router.post('/roleResource/add', roleResource.add);
};