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

20 lines
792 B

'use strict';
const member = require('../../controllers/member');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['POST/member'] = { content: '添加人员信息', visible: true };
router.post('/member', member.add);
app.fs.api.logAttr['PUT/member'] = { content: '编辑人员信息', visible: true };
router.put('/member', member.edit);
app.fs.api.logAttr['DEL/member'] = { content: '删除人员信息', visible: true };
router.del('/member', member.del);
app.fs.api.logAttr['GET/member/search'] = { content: '搜索项企用户', visible: true };
router.get('/member/search', member.searchPepMember);
app.fs.api.logAttr['GET/member/list'] = { content: '查询人员列表', visible: true };
router.get('/member/list', member.list);
};