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.
11 lines
552 B
11 lines
552 B
'use strict';
|
|
|
|
const personalTrain = require('../../controllers/personalTrain');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
app.fs.api.logAttr['GET/personal/train/record/list'] = { content: '查询个人培训记录列表', visible: true };
|
|
router.get('/personal/train/record/list', personalTrain.getPersonalTrainRecordList);
|
|
|
|
app.fs.api.logAttr['POST/personal/train/record/bulk'] = { content: '导入个人培训记录信息', visible: true };
|
|
router.post('/personal/train/record/bulk', personalTrain.importPersonalTrainData);
|
|
};
|