修改状态机的写法

This commit is contained in:
eson
2023-08-09 16:54:52 +08:00
parent ca80a94f72
commit 1913beb3f7
24 changed files with 55 additions and 60 deletions

View File

@@ -3,8 +3,8 @@ package svc
import (
"errors"
"fmt"
"fusenapi/fsm"
"fusenapi/server/product/internal/config"
"fusenapi/shared"
"net/http"
"fusenapi/initalize"
@@ -16,7 +16,7 @@ import (
type ServiceContext struct {
Config config.Config
SharedState *fsm.SharedState
SharedState *shared.SharedState
MysqlConn *gorm.DB
AllModels *gmodel.AllModelsGen