'use strict'; const industrySolution = require('../controllers/industrySolution.js'); module.exports = function (app, router, opts) { const { middlewares: { auth, resolveExternalUserId } } = app; router.post('/industrySolution', resolveExternalUserId, industrySolution.addIndustrySolution, { content: '生成行业方案', visible: true }); router.post('/industrySolutions/download', industrySolution.downloadIndustrySolution, { content: '下载行业方案', visible: true }); };