| | |
| | | r.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler)) |
| | | |
| | | urlPrefix := "/api-wms/v1" |
| | | r.Use(middleware.JWTAuth()) |
| | | |
| | | // 组织管理 |
| | | departmentController := new(controllers.DepartmentController) |
| | |
| | | locationAPI.POST("updateLocation", locationController.UpdateLocation) //修改位置 |
| | | locationAPI.GET("getLocationDetails/:id", locationController.GetLocationDetails) //获取位置详情 |
| | | locationAPI.DELETE("deleteLocation/:id", locationController.DeleteLocation) //删除位置 |
| | | locationAPI.GET("getLocationTreeList", locationController.GetLocationTreeList) //获取位置列表树 |
| | | } |
| | | |
| | | // 业务类型 |