feat 修改model名称

This commit is contained in:
2026-01-07 15:15:25 +08:00
parent 46839cd11b
commit a4f40eca2f
29 changed files with 92 additions and 92 deletions

View File

@@ -1,10 +1,10 @@
package app
import (
"common/discover"
"common/log"
"fmt"
"gateway/config"
"git.hlsq.asia/mmorpg/service-common/discover"
"git.hlsq.asia/mmorpg/service-common/log"
"git.hlsq.asia/mmorpg/service-gateway/config"
"github.com/judwhite/go-svc"
)

View File

@@ -1,9 +1,9 @@
package app
import (
"common/log"
"common/utils"
"gateway/config"
"git.hlsq.asia/mmorpg/service-common/log"
"git.hlsq.asia/mmorpg/service-common/utils"
"git.hlsq.asia/mmorpg/service-gateway/config"
"math/rand"
)

View File

@@ -1,8 +1,8 @@
package app
import (
"common/db"
"gateway/config"
"git.hlsq.asia/mmorpg/service-common/db"
"git.hlsq.asia/mmorpg/service-gateway/config"
)
// ModuleDB 数据库模块

View File

@@ -1,9 +1,9 @@
package app
import (
"common/net/grpc/service"
"gateway/config"
"gateway/internal/grpc_server/server"
"git.hlsq.asia/mmorpg/service-common/net/grpc/service"
"git.hlsq.asia/mmorpg/service-gateway/config"
"git.hlsq.asia/mmorpg/service-gateway/internal/grpc_server/server"
)
// ModuleGrpcServer Grpc服务模块

View File

@@ -1,8 +1,8 @@
package app
import (
"gateway/internal/global"
"gateway/internal/handler/ws_handler/login"
"git.hlsq.asia/mmorpg/service-gateway/internal/global"
"git.hlsq.asia/mmorpg/service-gateway/internal/handler/ws_handler/login"
"runtime"
)

View File

@@ -1,11 +1,11 @@
package app
import (
"common/log"
"context"
"errors"
"fmt"
"gateway/config"
"git.hlsq.asia/mmorpg/service-common/log"
"git.hlsq.asia/mmorpg/service-gateway/config"
"github.com/prometheus/client_golang/prometheus/promhttp"
"net/http"
"sync"

View File

@@ -1,12 +1,12 @@
package app
import (
"common/log"
"context"
"errors"
"fmt"
"gateway/config"
"gateway/internal/net/http_gateway"
"git.hlsq.asia/mmorpg/service-common/log"
"git.hlsq.asia/mmorpg/service-gateway/config"
"git.hlsq.asia/mmorpg/service-gateway/internal/net/http_gateway"
"net/http"
"sync"
)

View File

@@ -1,11 +1,11 @@
package app
import (
"common/log"
"common/net/socket/websocket"
"fmt"
"gateway/config"
"gateway/internal/net/ws_gateway"
"git.hlsq.asia/mmorpg/service-common/log"
"git.hlsq.asia/mmorpg/service-common/net/socket/websocket"
"git.hlsq.asia/mmorpg/service-gateway/config"
"git.hlsq.asia/mmorpg/service-gateway/internal/net/ws_gateway"
"github.com/panjf2000/gnet/v2"
"sync"
"time"