This commit is contained in:
Liang Ding 2022-11-02 15:36:48 +08:00
parent 0ea19f0d9d
commit 11f67cab71
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 23 additions and 5 deletions

View file

@ -242,6 +242,9 @@ func InitConf() {
if 0 == Conf.Sync.Mode {
Conf.Sync.Mode = 1
}
if nil == Conf.Sync.OSS {
Conf.Sync.OSS = &conf.OSS{}
}
if nil == Conf.Api {
Conf.Api = conf.NewAPI()