|
|
|
'use strict';
|
|
|
|
|
|
|
|
const employeeCommunicate = require('../../controllers/employeeCommunicate');
|
|
|
|
|
|
|
|
module.exports = function (app, router, opts) {
|
|
|
|
|
|
|
|
app.fs.api.logAttr['GET/employee/communicate/list'] = { content: '查询员工沟通统计数据', visible: true };
|
|
|
|
router.get('/employee/communicate/list', employeeCommunicate.get);
|
|
|
|
|
|
|
|
app.fs.api.logAttr['GET/export/employee/communicate'] = { content: '导出员工沟通统计数据', visible: false };
|
|
|
|
router.get('/export/employee/communicate', employeeCommunicate.exportData);
|
|
|
|
};
|