'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); };