feat: add oliver elastic support; update db(sqlite)
This commit is contained in:
1 parent
f9d59b99a0
commit
c117d363a0
14 files changed
+399
-85
No files matched your search
@@ -45,7 +45,7 @@ func NewOpLog(ctx context.Context) nf.HandlerFunc {
|
||||
return
|
||||
}
|
||||
|
||||
if err = db.New(tool.Timeout(10)).
|
||||
if err = db.Default.Session(tool.Timeout(10)).
|
||||
Model(&model.OpLog{}).
|
||||
Create(&list).
|
||||
Error; err != nil {
|
||||
|
||||
Reference in new issue
Block a user