From bfb236892c468d932acfc7683bfb007853aebaa9 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Thu, 21 Nov 2019 14:01:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 4 ++-- Application/Home/View/default/Download/listsIndex.html | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 2a47e7cc2..2fbaa1858 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -1646,8 +1646,8 @@ class DownloadController extends BaseController { * 开始导出数据 */ public function export() { //开始导出 - $id = $_REQUEST['id']; - $dataname = $_REQUEST['dataname']; + $id = $_REQUEST['lid']; + $dataname = $_REQUEST['dname']; $downloadStatus = M('downloadlog','tab_')->where(['id'=>$id])->field('status')->select(); if($downloadStatus[0]['status'] == 1) { $this->error("该数据已下载请重新添加",U('listsIndex')); diff --git a/Application/Home/View/default/Download/listsIndex.html b/Application/Home/View/default/Download/listsIndex.html index 8a58d0720..6c0979bb6 100644 --- a/Application/Home/View/default/Download/listsIndex.html +++ b/Application/Home/View/default/Download/listsIndex.html @@ -179,7 +179,10 @@