feat: update duration
This commit is contained in:
@@ -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},
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user