dict.js 666 B

1234567891011121314151617181920
  1. 'use strict';
  2. // 字典相关
  3. module.exports = app => {
  4. const { router, controller } = app;
  5. // 省份 城市
  6. router.get('/report/dict/place', controller.dictController.place);
  7. // 消息类型
  8. router.get('/report/dict/msgType', controller.dictController.msgType);
  9. // 自动化测试流程
  10. router.get('/report/dict/autoTest', controller.dictController.autoTest);
  11. // 车系
  12. router.get('/report/dict/car', controller.dictController.car);
  13. // 远控失败类型
  14. router.get('/report/dict/rcFailType', controller.dictController.rcFailType);
  15. // 自动化测试流程id
  16. router.get('/report/dict/autoTest', controller.dictController.autoTest);
  17. };