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.
13 lines
392 B
13 lines
392 B
'use strict';
|
|
|
|
const record = require('../../controllers/record');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
app.fs.api.logAttr['GET/record'] = { content: '获取服务记录列表', visible: true };
|
|
router.get('/record', record.getRecord);
|
|
|
|
app.fs.api.logAttr['PUT/record'] = { content: '新增/服务记录', visible: true };
|
|
router.put('/record', record.addRecord);
|
|
|
|
|
|
};
|