From 1afa5b031e2f13a2b93adc99d292cdeb2ba2a6dd Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期二, 11 二月 2020 18:30:55 +0800
Subject: [PATCH] add clearData

---
 router/router.go |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/router/router.go b/router/router.go
index c8165f3..f1e17bb 100644
--- a/router/router.go
+++ b/router/router.go
@@ -28,7 +28,7 @@
 	esSearchController := new(controllers.EsSearchController)
 	esManagementController := new(controllers.EsManagementController)
 	realTimeController := new(controllers.RealTimeController)
-	clearDataController := new(controllers.ClearDataController)
+	deleteDataController := new(controllers.DeleteDataController)
 	cameraTimeRuleController := new(controllers.CameraTimeruleController)
 	polygonController := new(controllers.CameraPolygonController)
 	cameraTaskController := new(controllers.CameraTaskController)
@@ -183,9 +183,9 @@
 		realTime.POST("/initForMonitoringData", realTimeController.InitForMonitoringData)
 	}
 	//娓呯悊鏁版嵁
-	clearData := r.Group(urlPrefix + "/clearData")
+	deleteData := r.Group(urlPrefix + "/clearData")
 	{
-		clearData.POST("/clearEsData", clearDataController.ClearEsData)
+		deleteData.POST("/deleteEsData", deleteDataController.DeleteEsData)
 	}
 
 	//搴曞簱 鎿嶄綔

--
Gitblit v1.8.0