'use strict'; module.exports = app => { const { router, controller, config } = app; const profix = `/api${config.appName ? `/${config.appName}` : ''}`; const index = 'system'; const target = 'weixin'; router.get(target, `${profix}/${index}/${target}/appAuth`, controller[index][target].appAuth); };