16 lines
300 B
Go
16 lines
300 B
Go
package router
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/controller/old_api"
|
|
|
|
"github.com/gogf/gf/v2/net/ghttp"
|
|
)
|
|
|
|
func Route(ctx context.Context, group *ghttp.RouterGroup) {
|
|
group.Group("/open", func(group *ghttp.RouterGroup) {
|
|
group.Bind(old_api.NewV1())
|
|
})
|
|
}
|