更新gf版本到v2.2.5

This commit is contained in:
孟帅
2022-12-11 20:48:18 +08:00
parent e990ce28a1
commit 6b3333340f
41 changed files with 470 additions and 613 deletions

View File

@@ -1,6 +1,7 @@
// ==========================================================================
// ================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
@@ -8,11 +9,15 @@ import (
"github.com/gogf/gf/v2/net/ghttp"
)
type IHook interface {
GlobalLog(r *ghttp.Request)
}
type (
IHook interface {
GlobalLog(r *ghttp.Request)
}
)
var localHook IHook
var (
localHook IHook
)
func Hook() IHook {
if localHook == nil {