添加系统运行配置文件日志输出用于排查

This commit is contained in:
junleea 2025-05-03 11:53:59 +08:00
parent 3b10099310
commit b3643d88e0
1 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package proto
import (
"StuAcaWorksAI/worker"
"encoding/json"
"fmt"
"gorm.io/gorm"
@ -144,7 +143,6 @@ func ReadConfig(path string) error {
log.Println("ReadConfig Error encoding config,err :", cErr)
} else {
log.Println("ReadConfig configJson:", string(configJson))
worker.SetRedis("system_config_info", string(configJson))
}
return err
}