fix: ci dir error

This commit is contained in:
zzw
2026-08-21 14:59:08 +08:00
parent 5034aeeaf7
commit 0e76d6dfca
25 changed files with 1860 additions and 469 deletions
@@ -0,0 +1,22 @@
package svc
import (
"lone-services/pkg/utils"
"lone-services/services/ad/internal/config"
"gorm.io/gorm"
)
type ServiceContext struct {
Config config.Config
DB *gorm.DB
Prefix string
}
func NewServiceContext(c config.Config, db *gorm.DB) *ServiceContext {
return &ServiceContext{
Config: c,
DB: db,
Prefix: utils.GetConfigString("mysql.prefix"),
}
}