From 04167123182d1dad573faccde9b19642ed4ed965 Mon Sep 17 00:00:00 2001 From: gazebo Date: Thu, 21 Nov 2019 11:52:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=B4=E6=97=B6=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E9=97=A8=E5=BA=97=E8=B4=A6=E5=8D=95=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=B0=B8=E8=BE=89=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/financial.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/controllers/financial.go b/controllers/financial.go index e4eb65fde..18b915519 100644 --- a/controllers/financial.go +++ b/controllers/financial.go @@ -8,7 +8,6 @@ import ( "git.rosy.net.cn/jx-callback/business/jxcallback/orderman" "git.rosy.net.cn/jx-callback/business/jxstore/financial" - "git.rosy.net.cn/jx-callback/business/jxstore/yonghui" "git.rosy.net.cn/jx-callback/business/model" "git.rosy.net.cn/jx-callback/business/model/legacymodel" ) @@ -43,11 +42,7 @@ func (c *FinancialController) SendFilesToStores() { c.callSendFilesToStores(func(params *tFinancialSendFilesToStoresParams) (retVal interface{}, errCode string, err error) { r := c.Ctx.Request files := r.MultipartForm.File["userfiles"] - if params.Title != "永辉" { - retVal, err = financial.SendFilesToStores(params.Ctx, files, params.Title, params.ShopName, params.IsAsync, params.Ctx.GetUserName()) - } else { - retVal, err = yonghui.LoadExcelByYongHui(params.Ctx, files, params.IsAsync, true) - } + retVal, err = financial.SendFilesToStores(params.Ctx, files, params.Title, params.ShopName, params.IsAsync, params.Ctx.GetUserName()) return retVal, "", err }) }