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