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
788 B
19 lines
788 B
1 year ago
|
'use strict';
|
||
|
|
||
|
const operationLog = require('../../controllers/operationLogs/index');
|
||
|
|
||
|
module.exports = function (app, router, opts) {
|
||
|
|
||
|
app.fs.api.logAttr['GET/operationLog'] = { content: '获取操作日志', visible: false };
|
||
|
router.get('/operationLog', operationLog.getLog);
|
||
|
|
||
|
// app.fs.api.logAttr['POST/operationLog'] = { content: '创建操作日志', visible: false };
|
||
|
// router.post('/operationLog', operationLog.creatLog);
|
||
|
|
||
|
// app.fs.api.logAttr['PUT/operationLog/:id'] = { content: '修改操作日志', visible: false };
|
||
|
// router.put('/operationLog/:id', operationLog.updateLog);
|
||
|
|
||
|
// app.fs.api.logAttr['DEL/operationLog/:ids'] = { content: '删除操作日志', visible: false };
|
||
|
// router.del('/operationLog/:ids', operationLog.deleteLog);
|
||
|
|
||
|
};
|