sync: 同步 v1.0.4 开源代码并脱敏
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/controller/common"
|
||||
|
||||
"github.com/gogf/gf/v2/net/ghttp"
|
||||
)
|
||||
|
||||
func Common(ctx context.Context, group *ghttp.RouterGroup) {
|
||||
group.Group("/common", func(group *ghttp.RouterGroup) {
|
||||
group.Bind(common.NewV1())
|
||||
})
|
||||
}
|
||||
@@ -15,7 +15,6 @@ func InitRouter(ctx context.Context, s *ghttp.Server) {
|
||||
service.Middleware().ApiAuth,
|
||||
service.Middleware().ResponseHandler,
|
||||
)
|
||||
Common(ctx, group)
|
||||
Change(ctx, group)
|
||||
Query(ctx, group)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user