fix
This commit is contained in:
parent
c38248cfc5
commit
f86624aa1b
|
@ -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: "超时",
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue