[feat] 新增 RouteParam 接口

This commit is contained in:
what 2024-02-01 16:12:50 +08:00
parent dfe4a87a4b
commit 88097d181a

View File

@ -103,7 +103,7 @@ type Route interface {
type RouteParam interface {
GetCode() string
GetType() RouteParamType
GetDataType() RouteParamType
GetCategory() RouteParamCategory
IsRequired() bool
InjectRequestToGlobalParams(*http.Request, GlobalParams) error