cld_route.js 515 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. /**
  3. * CLD接口路由
  4. *
  5. * @author EllisRan.
  6. * @date 2018/9/25
  7. * @version
  8. */
  9. import express from "express";
  10. import CLDController from "../controllers/cld_controller";
  11. module.exports = function (app) {
  12. let router = express.Router();
  13. let cldController = new CLDController();
  14. // 登录页面action
  15. router.get('/getCategoryStaff', cldController.getCategoryStaff);
  16. router.get('/getUsersAndCompilation', cldController.getUsersAndCompilationList);
  17. app.use('/cld',router)
  18. };