Browse Source

(*) 代码结构调整

master
liujiangyong 2 years ago
parent
commit
2ea83a8e06
  1. 0
      api/app/lib/controllers/patrolManage/patrolPlan.js
  2. 0
      api/app/lib/controllers/patrolManage/patrolRecord.js
  3. 2
      api/app/lib/routes/patrolManage/patrolPlan.js
  4. 2
      api/app/lib/routes/patrolManage/patrolRecord.js

0
api/app/lib/controllers/patrolPlan/patrolPlan.js → api/app/lib/controllers/patrolManage/patrolPlan.js

0
api/app/lib/controllers/patrolRecord/patrolRecord.js → api/app/lib/controllers/patrolManage/patrolRecord.js

2
api/app/lib/routes/patrolPlan/patrolPlan.js → api/app/lib/routes/patrolManage/patrolPlan.js

@ -1,6 +1,6 @@
'use strict';
const patrolPlan = require('../../controllers/patrolPlan/patrolPlan');
const patrolPlan = require('../../controllers/patrolManage/patrolPlan');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/patrolPlan'] = { content: '获取巡检计划', visible: false };

2
api/app/lib/routes/patrolRecord/patrolRecord.js → api/app/lib/routes/patrolManage/patrolRecord.js

@ -1,5 +1,5 @@
'use strict';
const patrolRecord = require('../../controllers/patrolRecord/patrolRecord');
const patrolRecord = require('../../controllers/patrolManage/patrolRecord');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/patrolRecord/:patrolPlanId/:startTime/:endTime/:alarm/:pointId'] = { content: '获取巡检记录', visible: true };
Loading…
Cancel
Save