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.
25 lines
1.2 KiB
25 lines
1.2 KiB
'use strict';
|
|
|
|
const community = require('../../controllers/superScreen/community');
|
|
|
|
module.exports = function (app, router, opts, AuthCode) {
|
|
//新增住房信息
|
|
app.fs.api.logAttr['POST/affordable/housing/add'] = { content: '新增住房信息', visible: true };
|
|
router.post('/affordable/housing/add', community.addAffordableHousing(opts));
|
|
|
|
//获取租户家庭人口统计
|
|
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));
|
|
|
|
//获取房管局通知
|
|
app.fs.api.logAttr['GET/community/fgjv/notice'] = { content: '获取房管局通知', visible: true };
|
|
router.get('/community/fgjv/notice', community.getFgjvNotice(opts));
|
|
};
|
|
|