fix(log):清理系统中无用的调试日志输出。

This commit is contained in:
徐涛
2022-09-08 16:13:45 +08:00
parent 46494dd46e
commit 8d190a3478
6 changed files with 2 additions and 23 deletions

View File

@@ -6,7 +6,6 @@ import (
"electricity_bill_calc/global"
"electricity_bill_calc/model"
"fmt"
"log"
"time"
"github.com/samber/lo"
@@ -114,7 +113,6 @@ func (_GodModeService) resetEndUserRecords(tx *xorm.Session, reportId string) (b
err := tx.Where(builder.Eq{"report_id": reportId}).Find(&records)
if err != nil {
tx.Rollback()
log.Printf("[debug] [god mode] err: %+v", err)
return false, err
}
for _, u := range records {