新增测点配置
This commit is contained in:
17
router/routes/device_point.go
Normal file
17
router/routes/device_point.go
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user