fix: http 包装器 group 修复

This commit is contained in:
kercylan98 2023-08-08 15:05:50 +08:00
parent cec7e5b341
commit dbf7ed717a
1 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,6 @@ func (slf *HttpWrapperGroup[CTX]) OPTIONS(relativePath string, handlers ...HttpW
func (slf *HttpWrapperGroup[CTX]) Group(relativePath string, handlers ...HttpWrapperHandleFunc[CTX]) *HttpWrapperGroup[CTX] {
return &HttpWrapperGroup[CTX]{
wrapper: slf.wrapper,
group: slf.wrapper.server.Group(relativePath, handlersToGinHandlers(slf.wrapper.packHandle, handlers)...),
group: slf.group.Group(relativePath, handlersToGinHandlers(slf.wrapper.packHandle, handlers)...),
}
}