From ea5df990ee13cf2ca03b0ee757f2f67c789cb93c Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 21 八月 2019 13:14:48 +0800 Subject: [PATCH] tagList get from sqlite --- router/router.go | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/router/router.go b/router/router.go index 56ff1be..ac00538 100644 --- a/router/router.go +++ b/router/router.go @@ -118,12 +118,13 @@ task.GET("/findAll", taskController.FindAll) task.POST("/addTask", taskController.AddTask) task.POST("/updateTaskStatus", taskController.UpdateTaskStatus) - task.GET("/deleteTask", taskController.DeleteTask) + task.GET("/delete", taskController.DeleteTask) task.POST("/addTaskSdk", taskController.AddTaskSdk) - task.GET("/deleteTaskSdk", taskController.DeleteTaskSdk) + task.GET("/delTaskSdk", taskController.DeleteTaskSdk) task.POST("/updateTaskName", taskController.UpdateTaskName) task.GET("/getRulesByTaskSdk", taskController.GetRulesByTaskSdk) - task.POST("/deleteTaskSdkRuleById", taskController.DeleteTaskSdkRuleById) + task.POST("/deleteTaskSdkRule", taskController.DeleteTaskSdkRule) + task.POST("/saveTaskSdkRule", taskController.SaveTaskSdkRule) } // 妫�绱� 鏌ヨ @@ -189,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