diff --git a/internal/api/msg.go b/internal/api/msg.go index afb32d815..c716c63ad 100644 --- a/internal/api/msg.go +++ b/internal/api/msg.go @@ -19,6 +19,7 @@ import ( "github.com/OpenIMSDK/protocol/msg" "github.com/OpenIMSDK/protocol/sdkws" "github.com/gin-gonic/gin" + "github.com/go-playground/validator/v10" "github.com/mitchellh/mapstructure" "github.com/openimsdk/open-im-server/v3/pkg/apistruct" "github.com/openimsdk/open-im-server/v3/pkg/authverify" diff --git a/internal/api/route.go b/internal/api/route.go index 36521b528..1e577c61a 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -18,6 +18,8 @@ import ( "context" "errors" "fmt" + "github.com/go-playground/validator/v10" + "github.com/redis/go-redis/v9" "net" "net/http" "os"