feat: update duration

This commit is contained in:
2025-12-16 16:12:55 +08:00
parent 0531a72ae6
commit 0e303e8a5c
6 changed files with 79 additions and 9 deletions

View File

@@ -8,9 +8,7 @@ import (
"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"
@@ -40,10 +38,6 @@ func defaultProviders() container.Providers {
jwt.DefaultProvider(),
job.DefaultProvider(),
database.DefaultProvider(),
{Provider: services.Provide},
{Provider: api.Provide},
{Provider: super.Provide},
{Provider: web.Provide},
}...)
}
@@ -56,6 +50,10 @@ func Command() atom.Option {
defaultProviders().
With(
jobs.Provide,
services.Provide,
super.Provide,
// {Provider: api.Provide},
// {Provider: web.Provide},
),
),
)