| | |
| | | { |
| | | userApi.GET("/current", userController.Current) |
| | | userApi.GET("/findAllUser", userController.FindAllUser) |
| | | userApi.POST("/edit", userController.Edit) |
| | | userApi.POST("/findById", userController.FindById) |
| | | userApi.POST("/saveAuth", userController.SaveAuth) |
| | | } |
| | | |
| | | urlPrefix := "/data/api-v" // wp 添加 路径 前缀 |
| | |
| | | task := r.Group(urlPrefix + "/task") |
| | | { |
| | | task.GET("/findAll", taskController.FindAll) |
| | | task.GET("/aggregateTaskList", taskController.AggregateTaskList) |
| | | task.POST("/addTask", taskController.AddTask) |
| | | task.POST("/updateTaskStatus", taskController.UpdateTaskStatus) |
| | | task.GET("/delete", taskController.DeleteTask) |
| | |
| | | vdbperson.POST("/faceExtract", fileController.FaceExtract) |
| | | vdbperson.POST("/searchByPhoto", fileController.SearchByPhoto) |
| | | vdbperson.POST("/updateFace", dbPersonCont.UpdateFace) |
| | | |
| | | vdbperson.POST("/joinDbTable", dbPersonCont.JoinDbTable) |
| | | } |
| | | |
| | | // 系统设置 操作 |