From 1a87755835df004d9691f61d91913e43d28c9f3b Mon Sep 17 00:00:00 2001 From: kongyuebin <447206051@qq.com> Date: Thu, 9 Jan 2020 09:51:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jhmerchant/controllers/deal_excel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jhmerchant/controllers/deal_excel.go b/jhmerchant/controllers/deal_excel.go index ef1b55f..8f558be 100644 --- a/jhmerchant/controllers/deal_excel.go +++ b/jhmerchant/controllers/deal_excel.go @@ -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) } }()