21 lines
342 B
Go
Raw Normal View History

2025-06-06 14:36:05 +08:00
package model
import (
"rocommon/service"
"rocommon/util"
"roserver/baseserver/model"
"runtime/debug"
)
func ConfigInit() {
defer func() {
if err := recover(); err != nil {
util.InfoF("Stack---::%v\n%s\n", err, string(debug.Stack()))
panic(nil)
}
}()
sConfig := service.GetServiceConfig()
model.BaseConfigInit(sConfig)
}