This commit is contained in:
duyu 2024-08-21 18:05:13 +08:00
parent c38248cfc5
commit f86624aa1b
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import (
models "com.snow.auto_monitor/app/models/orders" models "com.snow.auto_monitor/app/models/orders"
dingServ "com.snow.auto_monitor/app/services/dingding" dingServ "com.snow.auto_monitor/app/services/dingding"
orderServ "com.snow.auto_monitor/app/services/orders"
"github.com/qit-team/snow-core/log/logger" "github.com/qit-team/snow-core/log/logger"
) )
@ -24,7 +25,7 @@ func DoRechargeTimeout() {
continue continue
} }
for i := 0; i < len(res); i++ { for i := 0; i < len(res); i++ {
models.GetInstance().Update(&models.Orders{ orderServ.Update(&models.Orders{
Id: res[i].Id, Id: res[i].Id,
FailReason: "超时", FailReason: "超时",
}) })