Browse Source

reportHandle 路由

dev
巴林闲侠 2 years ago
parent
commit
21e5d47bf9
  1. 2
      api/app/lib/routes/report/index.js

2
api/app/lib/routes/report/index.js

@ -13,7 +13,7 @@ module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/report/:reportId/detail'] = { content: '获取上报详情', visible: false }; app.fs.api.logAttr['GET/report/:reportId/detail'] = { content: '获取上报详情', visible: false };
router.get('/report/:reportId/detail', report.reportDetail); router.get('/report/:reportId/detail', report.reportDetail);
app.fs.api.logAttr['GET/report/:reportId/handle'] = { content: '处理上报详情', visible: false }; app.fs.api.logAttr['POST/report/:reportId/handle'] = { content: '处理上报详情', visible: false };
router.post('/report/:reportId/handle', report.reportHandle); router.post('/report/:reportId/handle', report.reportHandle);
app.fs.api.logAttr['POST/report'] = { content: '创建上报', visible: false }; app.fs.api.logAttr['POST/report'] = { content: '创建上报', visible: false };

Loading…
Cancel
Save