You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
3 years ago
|
'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);
|
||
|
|
||
|
}
|