chore: 并入 iotlcm-app 历史到 app/(原提交 f40bda9)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// package router
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2025 LiXiujie
|
||||
// @Author Lxj <li@example.com>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
package router
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/controller/system"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/service"
|
||||
|
||||
"github.com/gogf/gf/v2/net/ghttp"
|
||||
)
|
||||
|
||||
// System 系统默认功能的路由,不含业务属性的
|
||||
func System(ctx context.Context, group *ghttp.RouterGroup) {
|
||||
|
||||
group.Group("/system", func(group *ghttp.RouterGroup) {
|
||||
group.Middleware(
|
||||
service.Middleware().Auth,
|
||||
)
|
||||
group.Bind(
|
||||
system.NewV1(),
|
||||
)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user