修改引用头部,不是用ctx

This commit is contained in:
ayflying
2025-03-19 17:41:23 +08:00
parent 14de836089
commit 5c45ddb80b
4 changed files with 41 additions and 6 deletions

View File

@@ -2,7 +2,6 @@ package act{id}
import (
service2 "github.com/ayflying/utility_go/service"
"github.com/gogf/gf/v2/os/gctx"
)
type sAct{id} struct {
@@ -14,7 +13,7 @@ func New() *sAct{id} {
var (
ActId = {id}
ctx = gctx.New()
Name = ""
)
type Data struct {

View File

@@ -9,7 +9,7 @@ type s{name} struct {
}
var (
ctx = gctx.New()
)
func New() *s{name} {