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.
19 lines
758 B
19 lines
758 B
'use strict';
|
|
|
|
const community = require('../../controllers/superScreen/community');
|
|
|
|
module.exports = function (app, router, opts, AuthCode) {
|
|
|
|
//获取租户家庭人口统计
|
|
app.fs.api.logAttr['GET/home/person'] = { content: '获取租户家庭人口统计', visible: true };
|
|
router.get('/home/person', community.getHomePerson(opts));
|
|
|
|
//获取租户年龄分布
|
|
app.fs.api.logAttr['GET/person/age'] = { content: '获取租户年龄分布', visible: true };
|
|
router.get('/person/age', community.getPersonAge(opts));
|
|
|
|
//获取社区房屋统计信息
|
|
app.fs.api.logAttr['GET/community/info'] = { content: '获取社区房屋统计信息', visible: true };
|
|
router.get('/community/info', community.getHomeInfo(opts));
|
|
|
|
};
|
|
|