Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /** * 프로젝트 분석 컨트롤러 * * 기간별 프로젝트 분석 API 엔드포인트 핸들러 * * @author TK-FB-Project * @since 2025-12-11 */ const analysisService = require('../services/analysisService'); const { asyncHandler } = require('../middlewares/errorHandler'); /** * 프로젝트 분석 데이터 조회 */ const getAnalysisData = asyncHandler(async (req, res) => { const { startDate, endDate } = req.query; const data = await analysisService.getAnalysisService(startDate, endDate); res.json({ success: true, data, message: '분석 데이터 조회 성공' }); }); module.exports = { getAnalysisData }; |