From 754fd11ad28329b4526dd6ef54393063eb04c081 Mon Sep 17 00:00:00 2001 From: ayflying Date: Tue, 4 Mar 2025 14:49:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=96=B0=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/make/act | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/make/act b/cmd/make/act index ac1f895..8076647 100644 --- a/cmd/make/act +++ b/cmd/make/act @@ -1,7 +1,7 @@ package act{id} import ( - "game_server/internal/service" + service2 "github.com/ayflying/utility_go/service" "github.com/gogf/gf/v2/os/gctx" ) @@ -25,7 +25,7 @@ func init() { } func (s *sAct{id}) GetData(uid int64) (data *Data) { - get, _ := service.GameAct().Info(uid, ActId) + get, _ := service2.GameAct().Info(uid, ActId) get.Scan(&data) if get.IsEmpty() || get.IsNil() || data == nil { data = &Data{ @@ -35,5 +35,5 @@ func (s *sAct{id}) GetData(uid int64) (data *Data) { } func (s *sAct{id}) SetData(uid int64, data interface{}) { - service.GameAct().Set(uid, ActId, data) + service2.GameAct().Set(uid, ActId, data) } \ No newline at end of file