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
416 B
14 lines
416 B
2 years ago
|
'use strict';
|
||
|
|
||
|
const userRole = require('../../controllers/userRole');
|
||
|
|
||
|
module.exports = function (app, router, opts) {
|
||
|
|
||
|
app.fs.api.logAttr['GET/roleUser/list'] = { content: '角色用户列表', visible: true };
|
||
|
router.get('/roleUser/list', userRole.get);
|
||
|
|
||
|
app.fs.api.logAttr['POST/roleUser/add'] = { content: '角色添加用户成功', visible: true };
|
||
|
router.post('/roleUser/add', userRole.add);
|
||
|
|
||
|
|
||
|
};
|