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 }) }