routes.js 503 B

1234567891011121314151617181920
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Zhong
  6. * @date 2018/5/29
  7. * @version
  8. */
  9. import express from 'express';
  10. import BillsGuideLibController from '../controllers/libController';
  11. const router = express.Router();
  12. const billsGuideLibController = new BillsGuideLibController();
  13. module.exports = function (app) {
  14. router.post('/getLibWithBills', billsGuideLibController.getLibWithBills);
  15. router.post('/getItemsByBills', billsGuideLibController.getItemsByBills);
  16. app.use('/billsGuidance/api', router);
  17. };