添加系统运行配置文件日志输出用于排查
This commit is contained in:
parent
3b10099310
commit
b3643d88e0
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue