2026-03-02 12:36:41 +00:00
|
|
|
const express = require('express');
|
|
|
|
|
const router = express.Router();
|
|
|
|
|
const statisticsController = require('../controllers/statisticsController');
|
|
|
|
|
|
|
|
|
|
// 路由
|
|
|
|
|
router.get('/rent', statisticsController.getRentStatistics);
|
|
|
|
|
router.get('/room-status', statisticsController.getRoomStatusStatistics);
|
2026-03-03 16:33:04 +00:00
|
|
|
router.get('/dashboard', statisticsController.getDashboardStatistics);
|
2026-03-08 16:28:33 +00:00
|
|
|
router.get('/apartment-room-status', statisticsController.getApartmentRoomStatusStatistics);
|
2026-03-02 12:36:41 +00:00
|
|
|
|
|
|
|
|
module.exports = router;
|