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