Files
bl/modules/dict/dict.go

23 lines
451 B
Go
Raw Normal View History

2025-06-20 17:13:51 +08:00
package dict
import (
"blazing/cool"
_ "blazing/modules/dict/packed"
2025-06-20 17:13:51 +08:00
"github.com/gogf/gf/v2/os/gctx"
_ "blazing/modules/dict/controller"
"blazing/modules/dict/model"
2025-06-20 17:13:51 +08:00
)
func init() {
var (
ctx = gctx.GetInitCtx()
)
cool.Loger.Debug(ctx, "module dict init start ...")
cool.FillInitData(ctx, "dict", &model.DictInfo{}, nil)
cool.FillInitData(ctx, "dict", &model.DictType{}, nil)
cool.Loger.Debug(ctx, "module dict init finished ...")
2025-06-20 17:13:51 +08:00
}