[feat] 新增 RouteParam 接口
This commit is contained in:
@@ -103,7 +103,7 @@ type Route interface {
|
|||||||
|
|
||||||
type RouteParam interface {
|
type RouteParam interface {
|
||||||
GetCode() string
|
GetCode() string
|
||||||
GetType() RouteParamType
|
GetDataType() RouteParamType
|
||||||
GetCategory() RouteParamCategory
|
GetCategory() RouteParamCategory
|
||||||
IsRequired() bool
|
IsRequired() bool
|
||||||
InjectRequestToGlobalParams(*http.Request, GlobalParams) error
|
InjectRequestToGlobalParams(*http.Request, GlobalParams) error
|
||||||
|
|||||||
Reference in New Issue
Block a user