[feat] 新增 RouteParam 接口
This commit is contained in:
parent
dfe4a87a4b
commit
88097d181a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user