WEQServer/biz/router/weather_and_earthquake/middleware.go

27 lines
518 B
Go
Raw Normal View History

2025-10-31 06:42:43 +00:00
// Code generated by hertz generator.
package weather_and_earthquake
import (
"github.com/cloudwego/hertz/pkg/app"
"weather_and_earthquake/internal/middleware"
2025-10-31 06:42:43 +00:00
)
func rootMw() []app.HandlerFunc {
// your code...
return nil
}
func _querymethodMw() []app.HandlerFunc {
// your code...
routes := make([]app.HandlerFunc, 0)
routes = append(routes, middleware.AuthMiddleware())
routes = append(routes, middleware.CorsMiddleware())
return nil
}
func __2aMw() []app.HandlerFunc {
2025-10-31 06:42:43 +00:00
// your code...
return nil
}