政务数据资源中心(Government data Resource center) 03专项3期主要建设内容
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.

24 lines
904 B

2 years ago
'use strict';
const model = require('../../controllers/resourceConsumption/index');
module.exports = function (app, router, opts, AuthCode) {
// app.fs.api.logAttr['POST/meta/model'] = { content: '增加模型信息', visible: true };
// router.post('/meta/model', model.addModelManagement(opts))
// 修改模型信息
app.fs.api.logAttr['POST/resource/approve'] = { content: '消费审批', visible: true };
router.post('/resource/approve', model.postApprove(opts))
// // 删除模型信息
// app.fs.api.logAttr['DEL/meta/model/:id'] = { content: '删除模型信息', visible: true };
// router.del('/meta/model/:id', model.deleteModelManagement(opts))
//获取模型信息列表
app.fs.api.logAttr['GET/resource/approve'] = { content: '获取消费审批列表', visible: true };
router.get('/resource/approve', model.getApproveList(opts));
};