package cmd import ( "git.5iot.com/iotlcm-public/iotlcm-upstream-proxy/internal/controller/cardquery" "git.5iot.com/iotlcm-public/iotlcm-upstream-proxy/internal/controller/channel" "github.com/gogf/gf/v2/net/ghttp" ) func bindHTTPRoutes(server *ghttp.Server) { server.Group("/", func(group *ghttp.RouterGroup) { group.Middleware(ghttp.MiddlewareHandlerResponse) group.Bind( cardquery.NewV1(), channel.NewV1(), ) group.POST("/internal/app-diagnosis/sim/*any", cardquery.AppDiagnosisQuery) }) }