liujiandao
2023-10-23 4041b5571482c5515d15857f59b14a72045350c6
router/router.go
@@ -68,6 +68,7 @@
   operationTypeAPI := r.Group(urlPrefix + "/operationType")
   {
      operationTypeAPI.GET("operationType", operationTypeController.List)          // 获取作业类型列表
      operationTypeAPI.GET("listTransfer", operationTypeController.ListTransfer)   // 获取作业类型列表
      operationTypeAPI.POST("operationType", operationTypeController.Add)          // 新增作业类型
      operationTypeAPI.PUT("operationType/:id", operationTypeController.Update)    // 修改作业类型
      operationTypeAPI.DELETE("operationType/:id", operationTypeController.Delete) // 删除作业类型
@@ -82,7 +83,7 @@
      operationAPI.POST("update", operationController.Update)
      operationAPI.DELETE("operation/:id", operationController.Delete)
      operationAPI.PUT("finish/:id", operationController.Finish)
      operationAPI.POST("listAll", operationController.ListAll)
      operationAPI.POST("listTransfer", operationController.ListTransfer)
   }