'use strict'; const user = require('../../controllers/user'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/user/:userId/message'] = { content: '用户信息', visible: true }; router.get('/user/:userId/message', user.message); };