forked from free-lancers/electricity_bill_calc_service
fix(log):清理系统中无用的调试日志输出。
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user