index.js 785 B

123456789101112131415161718192021222324
  1. 'use strict'
  2. import express from 'express'
  3. import listScenes from './listScenes'
  4. import listSceneQualities from './listSceneQualities'
  5. import getImage from './getImage'
  6. import getImageExtracts from './getImageExtracts'
  7. import ping from './ping'
  8. import dataCollect from './dataCollect'
  9. import experimentCollect from './experimentCollect'
  10. import experimentCheck from './experimentCheck'
  11. const router = express.Router()
  12. router.use('/listScenes', listScenes)
  13. router.use('/listSceneQualities', listSceneQualities)
  14. router.use('/getImage', getImage)
  15. router.use('/getImageExtracts', getImageExtracts)
  16. router.use('/dataCollect', dataCollect)
  17. router.use('/experimentCollect', experimentCollect)
  18. router.use('/experimentCheck', experimentCheck)
  19. router.use('/ping', ping)
  20. export default router