chore: seed migration objects batch 12

This commit is contained in:
dev
2026-10-18 13:25:17 +08:00
parent 31ce93c03d
commit 24f356c87c
282 changed files with 34372 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
// Package sms
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package sms
import (
"context"
"hotgo/internal/dao"
"hotgo/internal/model"
"github.com/gogf/gf/v2/database/gdb"
)
var config *model.SmsConfig
func SetConfig(c *model.SmsConfig) {
config = c
}
func GetConfig() *model.SmsConfig {
return config
}
func GetModel(ctx context.Context) *gdb.Model {
return dao.SysSmsLog.Ctx(ctx)
}