This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

17
api/hwy/router/router.go Normal file
View File

@ -0,0 +1,17 @@
package hwy
import (
"github.com/gogf/gf/v2/net/ghttp"
"github.com/tiger1103/gfast/v3/api/hwy/equipment"
"github.com/tiger1103/gfast/v3/api/hwy/plant"
)
func InitHwyAPI(group *ghttp.RouterGroup) {
group.Middleware(ghttp.MiddlewareCORS)
group.Group("/manage", func(group *ghttp.RouterGroup) {
group.Group("/api/v1", func(group *ghttp.RouterGroup) {
group.Bind(new(plant.PlantApi))
group.Bind(new(equipment.EquipmentApi))
})
})
}