18 lines
327 B
Go
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)
|
|
|
|
}
|
|
}
|