This commit is contained in:
jiangyong 2023-08-27 16:15:29 +08:00
parent 3c550761d6
commit 3bd14f8382
2 changed files with 6 additions and 2 deletions

7
go.mod
View File

@ -4,6 +4,7 @@ go 1.18
require ( require (
github.com/go-co-op/gocron v1.19.0 github.com/go-co-op/gocron v1.19.0
github.com/gogf/gf/v2 v2.5.2
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible
github.com/mitchellh/mapstructure v1.5.0 github.com/mitchellh/mapstructure v1.5.0
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
@ -37,10 +38,12 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.4.2 // indirect github.com/subosito/gotenv v1.4.2 // indirect
go.opentelemetry.io/otel v1.14.0 // indirect
go.opentelemetry.io/otel/trace v1.14.0 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/sync v0.1.0 // indirect golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.3.0 // indirect golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.5.0 // indirect golang.org/x/text v0.11.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
) )

View File

@ -5,6 +5,7 @@ import (
"encoding/json" "encoding/json"
"film/base/util" "film/base/util"
"film/model" "film/model"
"film/worker/common"
"fmt" "fmt"
"github.com/go-co-op/gocron" "github.com/go-co-op/gocron"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"