19 lines
362 B
Go
19 lines
362 B
Go
package router
|
|
|
|
import (
|
|
"context"
|
|
"hotgo/internal/controller/internalapi/imconfig"
|
|
"hotgo/internal/library/iminternal"
|
|
|
|
"github.com/gogf/gf/v2/net/ghttp"
|
|
)
|
|
|
|
func Internal(ctx context.Context, group *ghttp.RouterGroup) {
|
|
group.Group("/", func(group *ghttp.RouterGroup) {
|
|
group.Middleware(iminternal.Middleware)
|
|
group.Bind(
|
|
imconfig.Config,
|
|
)
|
|
})
|
|
}
|