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