'use strict'; const resource = require('../../controllers/resource'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/resource/list'] = { content: '查询角色列表', visible: true }; router.get('/resource/list', resource.get); };