feat: 完成面板日志功能

This commit is contained in:
ssongliu
2022-11-15 17:20:57 +08:00
committed by ssongliu
parent 0dfb9bd5c7
commit 3a3670f660
37 changed files with 838 additions and 358 deletions

View File

@@ -70,7 +70,7 @@ func OperationRecord() gin.HandlerFunc {
record.Latency = latency
record.Resp = writer.body.String()
if err := service.NewIOperationService().Create(record); err != nil {
if err := service.NewILogService().CreateOperationLog(record); err != nil {
global.LOG.Errorf("create operation record failed, err: %v", err)
}
}