From 73ed18c9f59ae4adc545731977c1ce3a5c26b3f7 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期二, 06 八月 2019 11:20:17 +0800
Subject: [PATCH] add log

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

diff --git a/router/router.go b/router/router.go
index b7977dd..453d013 100644
--- a/router/router.go
+++ b/router/router.go
@@ -118,9 +118,13 @@
 		task.GET("/findAll", taskController.FindAll)
 		task.POST("/addTask", taskController.AddTask)
 		task.POST("/updateTaskStatus", taskController.UpdateTaskStatus)
-		task.GET("/deleteTask", taskController.DeleteTask)
-		task.GET("/addTaskSdk", taskController.AddTaskSdk)
-		task.GET("/deleteTaskSdk", taskController.DeleteTaskSdk)
+		task.GET("/delete", taskController.DeleteTask)
+		task.POST("/addTaskSdk", taskController.AddTaskSdk)
+		task.GET("/delTaskSdk", taskController.DeleteTaskSdk)
+		task.POST("/updateTaskName", taskController.UpdateTaskName)
+		task.GET("/getRulesByTaskSdk", taskController.GetRulesByTaskSdk)
+		task.POST("/deleteTaskSdkRuleById", taskController.DeleteTaskSdkRuleById)
+		task.POST("/saveTaskSdkRule", taskController.SaveTaskSdkRule)
 	}
 
 	// 妫�绱� 鏌ヨ
@@ -186,6 +190,12 @@
 		sdkApi.GET("/getById", sdkController.GetById)
 	}
 
+	//绠楁硶鍙傛暟
+	sdkArgApi :=r.Group(urlPrefix + "/sdkArg")
+	{
+		sdkArgApi.GET("/getSdkArgs", sdkController.GetSdkArgs)
+	}
+
 	cameraTimeApi := r.Group(urlPrefix + "/cameraTimerule")
 	{
 		cameraTimeApi.POST("/save", cameraTimeRuleController.Save)

--
Gitblit v1.8.0