'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.edit); app.fs.api.logAttr['GET/member/search'] = { content: '搜索项企用户', visible: true }; router.get('/member/search', member.searchPepMember); };