Files
energy-management-system/router/routes/device_point.go
2024-09-03 15:52:38 +08:00

18 lines
327 B
Go

package routes
import (
v1 "energy-management-system/api/v1"
"github.com/gin-gonic/gin"
)
type DevicePoint struct{}
func (r *DevicePoint) InitDevicePoint(Router *gin.RouterGroup) {
devicePointApi := Router.Group("devicePoint")
{
devicePointApi.GET("pointNameSelect", v1.Controllers.DevicePoint.PointNameSelect)
}
}