feat: Dockerfile remove config

This commit is contained in:
zzw
2026-08-21 10:49:12 +08:00
parent f360c268be
commit a2492a346e
20 changed files with 254 additions and 112 deletions
@@ -1,6 +1,7 @@
package svc
import (
"lone-services/pkg/utils"
"lone-services/services/product/internal/config"
"gorm.io/gorm"
@@ -16,6 +17,6 @@ func NewServiceContext(c config.Config, db *gorm.DB) *ServiceContext {
return &ServiceContext{
Config: c,
DB: db,
Prefix: c.Mysql.Prefix,
Prefix: utils.GetConfigString("mysql.prefix"),
}
}