调整整体架构写法
调整db用法 调整日志用法 调整模版
This commit is contained in:
1 parent
734a48dbb8
commit
e2952fa393
137 files changed
+3638
-3544
No files matched your search
@@ -1,9 +1,13 @@
|
||||
package service
|
||||
|
||||
import "gorm.io/gorm"
|
||||
import (
|
||||
"go-admin/pkg/logger"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
type Service struct {
|
||||
Orm *gorm.DB
|
||||
Msg string
|
||||
MsgID string
|
||||
Log logger.Logger
|
||||
}
|
||||
Reference in new issue
Block a user