mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-28 18:36:34 +08:00
refactor: interface{} -> any
feat: 新增外链菜单
This commit is contained in:
@@ -106,7 +106,7 @@ func UseAfterHandlerInterceptor(b HandlerInterceptorFunc) {
|
||||
}
|
||||
|
||||
// 应用指定处理器拦截器,如果有一个错误则直接返回错误
|
||||
func ApplyHandlerInterceptor(his HandlerInterceptors, rc *Ctx) interface{} {
|
||||
func ApplyHandlerInterceptor(his HandlerInterceptors, rc *Ctx) any {
|
||||
for _, handler := range his {
|
||||
if err := handler(rc); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user