|
|
|
@ -11,12 +11,12 @@ package controllers
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"fmt"
|
|
|
|
|
"github.com/astaxie/beego/logs"
|
|
|
|
|
"github.com/tealeg/xlsx"
|
|
|
|
|
"dongfeng-pay/jhmerchant/sys/enum"
|
|
|
|
|
"dongfeng-pay/jhmerchant/utils"
|
|
|
|
|
"dongfeng-pay/service/models"
|
|
|
|
|
"os"
|
|
|
|
|
"recharge/sys"
|
|
|
|
|
"strings"
|
|
|
|
|
"time"
|
|
|
|
|
)
|
|
|
|
@ -166,7 +166,7 @@ func (c *DealExcel) DownloadRecordExcel() {
|
|
|
|
|
|
|
|
|
|
defer func() {
|
|
|
|
|
if r := recover(); r != nil {
|
|
|
|
|
sys.LogEmergency(file + " 此文件不存在!")
|
|
|
|
|
logs.Error(fmt.Sprintf("%s此文件不存在",file))
|
|
|
|
|
time.Sleep(3 * time.Second)
|
|
|
|
|
}
|
|
|
|
|
}()
|
|
|
|
|