'use strict'; const statistic = require('../../controllers/statistic') module.exports = function (app, router, opts) { /** * @api {GET} getGovern 获取数据中台. * @apiVersion 1.0.0 * @apiGroup wxReport */ app.fs.api.logAttr['GET/daily/report/data/statistic'] = { content: '获取数据中台', visible: true }; router.get('/daily/report/data/statistic', statistic.reportDailyStatistic); /** * @api {GET} getGovern 获取数据中台地区填报数量. * @apiVersion 1.0.0 * @apiGroup wxReport */ app.fs.api.logAttr['GET/daily/report/area/statistic'] = { content: '获取数据中台地区填报数量', visible: true }; router.get('/daily/report/area/statistic', statistic.reportAreaStatistic); /** * @api {GET} getGovern 获取填报管理数据. * @apiVersion 1.0.0 * @apiGroup wxReport */ app.fs.api.logAttr['GET/report/management/statistic'] = { content: '获取填报管理数据', visible: true }; router.get('/report/management/statistic', statistic.dangerAreaQuery); }