router.js 550 B

123456789101112131415
  1. 'use strict';
  2. /**
  3. * @param {Egg.Application} app - egg application
  4. */
  5. module.exports = app => {
  6. const { router, controller } = app;
  7. router.get('/', controller.home.index);
  8. require('./router/achieve_apply')(app); // 成果评价申请
  9. require('./router/achieve_verify_record')(app); // 成果评价申请审核记录
  10. require('./router/achieve_expert')(app); // 专家临时
  11. require('./router/achieve_apply_expert')(app); // 成果评价申请-分配专家
  12. require("./router/achieve_cert")(app); // 成果评价申请-证书资料
  13. };