'use strict'; const attendance = require('../../controllers/attendance'); module.exports = function (app, router, opts) { app.fs.api.logAttr['GET/attendance/overtime'] = { content: '加班统计', visible: true }; router.get('/attendance/overtime', attendance.overtimeStatistic); app.fs.api.logAttr['GET/attendance/vacate'] = { content: '请假统计', visible: true }; router.get('/attendance/vacate', attendance.vacateStatistic); };