From 2ea83a8e064a8cae53bc5ef7cfd82c34964d297e Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Tue, 21 Feb 2023 10:23:57 +0800 Subject: [PATCH] =?UTF-8?q?(*)=20=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/controllers/{patrolPlan => patrolManage}/patrolPlan.js | 0 .../controllers/{patrolRecord => patrolManage}/patrolRecord.js | 0 api/app/lib/routes/{patrolPlan => patrolManage}/patrolPlan.js | 2 +- .../lib/routes/{patrolRecord => patrolManage}/patrolRecord.js | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename api/app/lib/controllers/{patrolPlan => patrolManage}/patrolPlan.js (100%) rename api/app/lib/controllers/{patrolRecord => patrolManage}/patrolRecord.js (100%) rename api/app/lib/routes/{patrolPlan => patrolManage}/patrolPlan.js (90%) rename api/app/lib/routes/{patrolRecord => patrolManage}/patrolRecord.js (90%) diff --git a/api/app/lib/controllers/patrolPlan/patrolPlan.js b/api/app/lib/controllers/patrolManage/patrolPlan.js similarity index 100% rename from api/app/lib/controllers/patrolPlan/patrolPlan.js rename to api/app/lib/controllers/patrolManage/patrolPlan.js diff --git a/api/app/lib/controllers/patrolRecord/patrolRecord.js b/api/app/lib/controllers/patrolManage/patrolRecord.js similarity index 100% rename from api/app/lib/controllers/patrolRecord/patrolRecord.js rename to api/app/lib/controllers/patrolManage/patrolRecord.js diff --git a/api/app/lib/routes/patrolPlan/patrolPlan.js b/api/app/lib/routes/patrolManage/patrolPlan.js similarity index 90% rename from api/app/lib/routes/patrolPlan/patrolPlan.js rename to api/app/lib/routes/patrolManage/patrolPlan.js index 5f0e455..6a91fee 100644 --- a/api/app/lib/routes/patrolPlan/patrolPlan.js +++ b/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 }; diff --git a/api/app/lib/routes/patrolRecord/patrolRecord.js b/api/app/lib/routes/patrolManage/patrolRecord.js similarity index 90% rename from api/app/lib/routes/patrolRecord/patrolRecord.js rename to api/app/lib/routes/patrolManage/patrolRecord.js index 48f3d4b..0e82885 100644 --- a/api/app/lib/routes/patrolRecord/patrolRecord.js +++ b/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 };