This commit is contained in:
Nedim
2023-09-19 08:15:42 +02:00
parent c2d6923375
commit 85e695b2d8
7 changed files with 287 additions and 49 deletions

View File

@@ -8,6 +8,10 @@ import (
func RegisterPublicRoutes(r *gin.Engine) {
r.GET("/publicmessage", controllers.GetPublicText)
r.POST("/device_info", controllers.SaveDeviceInfo)
r.GET("/dashboard/map/contract/devices", controllers.GetDevicesByContract)
r.GET("/dashboard/map/contracts", controllers.GetLatestContracts)
r.GET("/dashboard/map/device_data", controllers.GetDeviceData)
r.POST("/device_data/save", controllers.SaveDeviceInfo)
}