'use strict'; const application = require('../../controllers/application'); module.exports = function (app, router, opts) { // app.fs.api.logAttr['GET/application'] = { content: '获取应用信息', visible: false }; // router.get('/application', application.get); app.fs.api.logAttr['POST/application'] = { content: '创建/修改应用', visible: false }; router.post('/application', application.edit); };