From ed3b6d16bac8c5f1a978a408998cf54e86b13799 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Wed, 16 Oct 2019 09:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=8A=9F=E8=83=BDBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/FinanceController.php | 2 +- frontend/views/finance/car-update-frame.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/controllers/FinanceController.php b/frontend/controllers/FinanceController.php index ee9b715..8567a10 100644 --- a/frontend/controllers/FinanceController.php +++ b/frontend/controllers/FinanceController.php @@ -6356,7 +6356,7 @@ class FinanceController extends \frontend\controllers\UserBaseController $result['msg'] = '操作失败'; $web_path = Yii::$app->getBasePath() . '/../frontend/web'; - $filename = $web_path . $request->post('urlfile'); + $filename = $web_path . $request->post('file'); $base_filename=$request->post('file'); //读取Excel 2007 diff --git a/frontend/views/finance/car-update-frame.php b/frontend/views/finance/car-update-frame.php index 25ac9e4..f8cfdfb 100644 --- a/frontend/views/finance/car-update-frame.php +++ b/frontend/views/finance/car-update-frame.php @@ -70,7 +70,7 @@ use \common\libs\MyLib; }, function(){ var params = $("#theFrm").serialize(); $.post('/finance/car-update-frame-info',params,function(obj){ - parent.layer.msg(data.msg); + parent.layer.msg(obj.msg); if(obj.success) { window.location.reload(); }