From 4622e4986f10bcb6fbccff97b04c225d7dcf58fe Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 16 八月 2019 15:21:27 +0800 Subject: [PATCH] test --- router/router.go | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/router/router.go b/router/router.go index 56ff1be..453d013 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("/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