'use strict';

module.exports = app => {
  const router = app.router.namespace(app.config.projectRootPath + '/course/back');
  const auth = app.middleware.backAuth();

  router.post('third', '/login', 'course.back.login');
  router.get('third', '/menu', auth, 'course.back.getMenuList');
};
