mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-22 10:19:25 +08:00
处理依赖
This commit is contained in:
parent
61941e6cbe
commit
84e0f9eac1
@ -11,6 +11,7 @@ package controllers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/astaxie/beego/logs"
|
||||||
"github.com/tealeg/xlsx"
|
"github.com/tealeg/xlsx"
|
||||||
"dongfeng-pay/jhagent/sys/enum"
|
"dongfeng-pay/jhagent/sys/enum"
|
||||||
"dongfeng-pay/jhagent/utils"
|
"dongfeng-pay/jhagent/utils"
|
||||||
@ -172,7 +173,7 @@ func (c *DealExcel) DownloadRecordExcel() {
|
|||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
if r := recover(); r != nil {
|
if r := recover(); r != nil {
|
||||||
sys.LogEmergency(file + " 此文件不存在!")
|
logs.Error(fmt.Sprintf("%s此文件不存在", file))
|
||||||
time.Sleep(3 * time.Second)
|
time.Sleep(3 * time.Second)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user