feat: update

This commit is contained in:
2025-12-16 14:58:08 +08:00
parent 512859b5c7
commit dbea493ba3
8 changed files with 72 additions and 396 deletions

View File

@@ -6,16 +6,15 @@ import (
"sort"
"strings"
"go.ipao.vip/atom"
"go.ipao.vip/atom/container"
"go.ipao.vip/atom/contracts"
"quyun/v2/app/commands"
"quyun/v2/app/errorx"
"quyun/v2/app/http/api"
"quyun/v2/app/http/super"
"quyun/v2/app/http/web"
"quyun/v2/app/jobs"
"quyun/v2/app/services"
"quyun/v2/app/tenancy"
"quyun/v2/database"
_ "quyun/v2/docs"
"quyun/v2/providers/app"
"quyun/v2/providers/http"
@@ -24,6 +23,10 @@ import (
"quyun/v2/providers/jwt"
"quyun/v2/providers/postgres"
"go.ipao.vip/atom"
"go.ipao.vip/atom/container"
"go.ipao.vip/atom/contracts"
"github.com/gofiber/fiber/v3/middleware/favicon"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
@@ -36,6 +39,8 @@ func defaultProviders() container.Providers {
postgres.DefaultProvider(),
jwt.DefaultProvider(),
job.DefaultProvider(),
database.DefaultProvider(),
{Provider: services.Provide},
{Provider: api.Provide},
{Provider: super.Provide},
{Provider: web.Provide},